summaryrefslogtreecommitdiffstats
path: root/libvncclient
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2017-03-26 15:03:24 +0200
committerChristian Beier <dontmind@freeshell.org>2017-03-26 15:03:24 +0200
commitec6d0f72592a77601f632890d79921b5ca5d90f6 (patch)
treeccaecef7f9257b4c6c89c8113028b7833dc88bf0 /libvncclient
parent0d5d16b4a789f5b3c38a8e416e864311c2639895 (diff)
downloadlibtdevnc-ec6d0f72592a77601f632890d79921b5ca5d90f6.tar.gz
libtdevnc-ec6d0f72592a77601f632890d79921b5ca5d90f6.zip
Fix a compiler warning
Diffstat (limited to 'libvncclient')
-rw-r--r--libvncclient/vncviewer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvncclient/vncviewer.c b/libvncclient/vncviewer.c
index afd84fd..fb25023 100644
--- a/libvncclient/vncviewer.c
+++ b/libvncclient/vncviewer.c
@@ -145,7 +145,7 @@ static void FillRectangle(rfbClient* client, int x, int y, int w, int h, uint32_
}
}
-static void CopyRectangle(rfbClient* client, uint8_t* buffer, int x, int y, int w, int h) {
+static void CopyRectangle(rfbClient* client, const uint8_t* buffer, int x, int y, int w, int h) {
int j;
if (client->frameBuffer == NULL) {