diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2021-05-28 13:34:29 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2021-05-28 13:34:29 +0200 |
commit | 060efcf52cb596194a037b4e11f5035fc969efd6 (patch) | |
tree | b39fc0883def7fc32291b7b05437ada8216c3c49 | |
parent | e6c334fc5b2964192e0a160662efa8f8f01f9589 (diff) |
outputstream: base is an 8-bit value
-rw-r--r-- | src/os/object/outputstream.cc | 2 |
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: |