diff options
author | Pierre Ossman <ossman@cendio.se> | 2022-09-10 13:19:41 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2023-02-01 21:17:12 +0100 |
commit | 6881c895ab317bd302addac5f228b7367136017f (patch) | |
tree | 18d1119f59209147d97e873c3dbc9be36e429aaf /common/rdr/HexInStream.cxx | |
parent | baca73d03217a1c219d9c4f024ffcd39f85fd322 (diff) | |
download | tigervnc-6881c895ab317bd302addac5f228b7367136017f.tar.gz tigervnc-6881c895ab317bd302addac5f228b7367136017f.zip |
Use stdint types
Avoid having our own custom stuff and instead use the modern, standard
types, for familiarity.
Diffstat (limited to 'common/rdr/HexInStream.cxx')
-rw-r--r-- | common/rdr/HexInStream.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/rdr/HexInStream.cxx b/common/rdr/HexInStream.cxx index 3eac9d2e..8a88d337 100644 --- a/common/rdr/HexInStream.cxx +++ b/common/rdr/HexInStream.cxx @@ -81,9 +81,9 @@ bool HexInStream::fillBuffer() { return false; size_t length = min(in_stream.avail()/2, availSpace()); - const U8* iptr = in_stream.getptr(length*2); + const uint8_t* iptr = in_stream.getptr(length*2); - U8* optr = (U8*) end; + uint8_t* optr = (uint8_t*) end; for (size_t i=0; i<length; i++) { int v = 0; readHexAndShift(iptr[i*2], &v); |