changeset 1803e46ddf57 in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=1803e46ddf57
description:
        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:

 src/sim/serialize.cc |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 26cd0ad262d0 -r 1803e46ddf57 src/sim/serialize.cc
--- a/src/sim/serialize.cc      Mon Jul 05 21:39:38 2010 -0700
+++ b/src/sim/serialize.cc      Mon Jul 05 21:39:38 2010 -0700
@@ -87,7 +87,7 @@
 // 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;
 }
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to