summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/os/object/outputstream.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/os/object/outputstream.cc b/src/os/object/outputstream.cc
index f257fa5..1ce260e 100644
--- a/src/os/object/outputstream.cc
+++ b/src/os/object/outputstream.cc
@@ -59,8 +59,9 @@ OutputStream & OutputStream::operator<<(unsigned long long number)
put('0');
break;
case 16:
- put('0');
- put('x');
+ if (number < 16) {
+ put('0');
+ }
break;
}