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/rfb/Decoder.cxx | |
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/rfb/Decoder.cxx')
-rw-r--r-- | common/rfb/Decoder.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/rfb/Decoder.cxx b/common/rfb/Decoder.cxx index 832d8cf0..78c54ec3 100644 --- a/common/rfb/Decoder.cxx +++ b/common/rfb/Decoder.cxx @@ -46,7 +46,7 @@ Decoder::~Decoder() } void Decoder::getAffectedRegion(const Rect& rect, - const void* /*buffer*/, + const uint8_t* /*buffer*/, size_t /*buflen*/, const ServerParams& /*server*/, Region* region) @@ -55,10 +55,10 @@ void Decoder::getAffectedRegion(const Rect& rect, } bool Decoder::doRectsConflict(const Rect& /*rectA*/, - const void* /*bufferA*/, + const uint8_t* /*bufferA*/, size_t /*buflenA*/, const Rect& /*rectB*/, - const void* /*bufferB*/, + const uint8_t* /*bufferB*/, size_t /*buflenB*/, const ServerParams& /*server*/) { |