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/SMsgHandler.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/rfb/SMsgHandler.h')
-rw-r--r-- | common/rfb/SMsgHandler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/rfb/SMsgHandler.h b/common/rfb/SMsgHandler.h index ec8040d2..20dc066f 100644 --- a/common/rfb/SMsgHandler.h +++ b/common/rfb/SMsgHandler.h @@ -51,7 +51,7 @@ namespace rfb { virtual void framebufferUpdateRequest(const Rect& r, bool incremental) = 0; virtual void setDesktopSize(int fb_width, int fb_height, const ScreenSet& layout) = 0; - virtual void fence(uint32_t flags, unsigned len, const char data[]) = 0; + virtual void fence(uint32_t flags, unsigned len, const uint8_t data[]) = 0; virtual void enableContinuousUpdates(bool enable, int x, int y, int w, int h) = 0; |