diff options
author | Pierre Ossman <ossman@cendio.se> | 2023-03-02 14:33:50 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2023-03-18 13:30:34 +0100 |
commit | 19df176862ff0687cabc435056061a1b6cbe9ff2 (patch) | |
tree | a76c497fa8c7128ea2651f48fd170d8963b007db /common/rdr/FdOutStream.h | |
parent | 15a0da6157d5d34362e68591124324ba5a77ad66 (diff) | |
download | tigervnc-19df176862ff0687cabc435056061a1b6cbe9ff2.tar.gz tigervnc-19df176862ff0687cabc435056061a1b6cbe9ff2.zip |
Consistently use uint8_t for data buffers
These will always be byte streams at heart, so let's try to keep them
with a proper type. Should make it clearer how they will be used.
Diffstat (limited to 'common/rdr/FdOutStream.h')
-rw-r--r-- | common/rdr/FdOutStream.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/rdr/FdOutStream.h b/common/rdr/FdOutStream.h index 80804da4..05fc1fed 100644 --- a/common/rdr/FdOutStream.h +++ b/common/rdr/FdOutStream.h @@ -45,7 +45,7 @@ namespace rdr { private: virtual bool flushBuffer(); - size_t writeFd(const void* data, size_t length); + size_t writeFd(const uint8_t* data, size_t length); int fd; struct timeval lastWrite; }; |