diff options
author | Steve Reinhardt <steve.reinhardt@amd.com> | 2010-07-05 21:39:38 -0700 |
---|---|---|
committer | Steve Reinhardt <steve.reinhardt@amd.com> | 2010-07-05 21:39:38 -0700 |
commit | 820bb3044d203aafa955cdb84c259101f051620e (patch) | |
tree | 8909b7b74aff2e7e38b2346abab8d39ab9174cbd /src | |
parent | cbd65e95dba33c0c88411b11c3e864cbc2567bbf (diff) | |
download | gem5-820bb3044d203aafa955cdb84c259101f051620e.tar.xz |
checkpointing: fix minor bug
Somehow we now need to explicitly specialize on
'signed char' and not just 'char' to catch cases
like int8_t
Diffstat (limited to 'src')
-rw-r--r-- | src/sim/serialize.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sim/serialize.cc b/src/sim/serialize.cc index 0e6d9b254..27831ef32 100644 --- 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; } |