summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/os/object/outputstream.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/object/outputstream.cc b/src/os/object/outputstream.cc
index c509b07..33fed70 100644
--- a/src/os/object/outputstream.cc
+++ b/src/os/object/outputstream.cc
@@ -118,7 +118,7 @@ OutputStream & OutputStream::operator<<(float number)
OutputStream & OutputStream::operator<<(void *pointer)
{
- unsigned short temp_base = base;
+ unsigned char temp_base = base;
*this << hex << (long)pointer;
switch (temp_base) {
case 2: