diff options
author | Pierre Ossman <ossman@cendio.se> | 2015-02-11 13:47:58 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2015-02-13 11:13:53 +0100 |
commit | f38e243746730e01625c1282a75e083977facc90 (patch) | |
tree | 5dae2072c7c7fdaf5c2bc0c347ba7e33512f7d3a /common/rfb/SMsgHandler.h | |
parent | 7069bdd76a5d6f3a6d98897e2ae6d9667744213c (diff) | |
download | tigervnc-f38e243746730e01625c1282a75e083977facc90.tar.gz tigervnc-f38e243746730e01625c1282a75e083977facc90.zip |
No need for this array to be writeable
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 c21cf528..74509e0b 100644 --- a/common/rfb/SMsgHandler.h +++ b/common/rfb/SMsgHandler.h @@ -46,7 +46,7 @@ namespace rfb { virtual void clientInit(bool shared); virtual void setPixelFormat(const PixelFormat& pf); - virtual void setEncodings(int nEncodings, rdr::S32* encodings); + virtual void setEncodings(int nEncodings, const rdr::S32* encodings); virtual void framebufferUpdateRequest(const Rect& r, bool incremental) = 0; virtual void setDesktopSize(int fb_width, int fb_height, const ScreenSet& layout) = 0; |