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.cxx | |
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.cxx')
-rw-r--r-- | common/rfb/SMsgHandler.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/rfb/SMsgHandler.cxx b/common/rfb/SMsgHandler.cxx index d4046b1b..388b21f8 100644 --- a/common/rfb/SMsgHandler.cxx +++ b/common/rfb/SMsgHandler.cxx @@ -39,7 +39,7 @@ void SMsgHandler::setPixelFormat(const PixelFormat& pf) cp.setPF(pf); } -void SMsgHandler::setEncodings(int nEncodings, rdr::S32* encodings) +void SMsgHandler::setEncodings(int nEncodings, const rdr::S32* encodings) { bool firstFence, firstContinuousUpdates; |