checkpointing: fix minor bug

Somehow we now need to explicitly specialize on
'signed char' and not just 'char' to catch cases
like int8_t
This commit is contained in:
Steve Reinhardt 2010-07-05 21:39:38 -07:00
parent cbd65e95db
commit 820bb3044d

View file

@ -87,7 +87,7 @@ showParam(ostream &os, const T &value)
// Treat 8-bit ints (chars) as ints on output, not as chars // Treat 8-bit ints (chars) as ints on output, not as chars
template <> template <>
void void
showParam(ostream &os, const char &value) showParam(ostream &os, const signed char &value)
{ {
os << (int)value; os << (int)value;
} }