diff options
author | Christian Beier <dontmind@freeshell.org> | 2017-03-26 15:03:24 +0200 |
---|---|---|
committer | Christian Beier <dontmind@freeshell.org> | 2017-03-26 15:03:24 +0200 |
commit | ec6d0f72592a77601f632890d79921b5ca5d90f6 (patch) | |
tree | ccaecef7f9257b4c6c89c8113028b7833dc88bf0 | |
parent | 0d5d16b4a789f5b3c38a8e416e864311c2639895 (diff) | |
download | libtdevnc-ec6d0f72592a77601f632890d79921b5ca5d90f6.tar.gz libtdevnc-ec6d0f72592a77601f632890d79921b5ca5d90f6.zip |
Fix a compiler warning
-rw-r--r-- | libvncclient/vncviewer.c | 2 |
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) { |