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/TLSInStream.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/TLSInStream.cxx')
-rw-r--r-- | common/rdr/TLSInStream.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/rdr/TLSInStream.cxx b/common/rdr/TLSInStream.cxx index aa552e86..f62d6d87 100644 --- a/common/rdr/TLSInStream.cxx +++ b/common/rdr/TLSInStream.cxx @@ -90,7 +90,7 @@ TLSInStream::~TLSInStream() bool TLSInStream::fillBuffer() { - size_t n = readTLS((U8*) end, availSpace()); + size_t n = readTLS((uint8_t*) end, availSpace()); if (n == 0) return false; end += n; @@ -98,7 +98,7 @@ bool TLSInStream::fillBuffer() return true; } -size_t TLSInStream::readTLS(U8* buf, size_t len) +size_t TLSInStream::readTLS(uint8_t* buf, size_t len) { int n; |