aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/SMsgHandler.cxx
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2015-02-11 13:47:58 +0100
committerPierre Ossman <ossman@cendio.se>2015-02-13 11:13:53 +0100
commitf38e243746730e01625c1282a75e083977facc90 (patch)
tree5dae2072c7c7fdaf5c2bc0c347ba7e33512f7d3a /common/rfb/SMsgHandler.cxx
parent7069bdd76a5d6f3a6d98897e2ae6d9667744213c (diff)
downloadtigervnc-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.cxx2
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;