projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbd65e9
)
checkpointing: fix minor bug
author
Steve Reinhardt
<steve.reinhardt@amd.com>
Tue, 6 Jul 2010 04:39:38 +0000
(21:39 -0700)
committer
Steve Reinhardt
<steve.reinhardt@amd.com>
Tue, 6 Jul 2010 04:39:38 +0000
(21:39 -0700)
Somehow we now need to explicitly specialize on
'signed char' and not just 'char' to catch cases
like int8_t
src/sim/serialize.cc
patch
|
blob
|
history
diff --git
a/src/sim/serialize.cc
b/src/sim/serialize.cc
index 0e6d9b254fc44a5156e256b9bfb253eb1174c068..27831ef3229d96aec025c241df13dac0568c6dd9 100644
(file)
--- a/
src/sim/serialize.cc
+++ b/
src/sim/serialize.cc
@@
-87,7
+87,7
@@
showParam(ostream &os, const T &value)
// Treat 8-bit ints (chars) as ints on output, not as chars
template <>
void
-showParam(ostream &os, const char &value)
+showParam(ostream &os, const
signed
char &value)
{
os << (int)value;
}