summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2021-05-28 13:34:29 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2021-05-28 13:34:29 +0200
commit060efcf52cb596194a037b4e11f5035fc969efd6 (patch)
treeb39fc0883def7fc32291b7b05437ada8216c3c49
parente6c334fc5b2964192e0a160662efa8f8f01f9589 (diff)
outputstream: base is an 8-bit value
-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: