diff options
Diffstat (limited to 'libvncclient/zlib.c')
-rw-r--r-- | libvncclient/zlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvncclient/zlib.c b/libvncclient/zlib.c index 89db504..e872d40 100644 --- a/libvncclient/zlib.c +++ b/libvncclient/zlib.c @@ -142,7 +142,7 @@ HandleZlibBPP (rfbClient* client, int rx, int ry, int rw, int rh) if ( inflateResult == Z_OK ) { /* Put the uncompressed contents of the update on the screen. */ - CopyRectangle(client, client->raw_buffer, rx, ry, rw, rh); + CopyRectangle(client, (uint8_t *)client->raw_buffer, rx, ry, rw, rh); } else { |