summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sim/serialize.cc2
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;
}