summaryrefslogtreecommitdiffstats
path: root/libvncclient/zlib.c
diff options
context:
space:
mode:
authorsteven_carr <steven_carr>2006-05-02 20:47:10 +0000
committersteven_carr <steven_carr>2006-05-02 20:47:10 +0000
commit422491c98ad260075ac5f819527906f4369550ef (patch)
treec00a1f57b172c10e0fd25a19025adb33f98c6c0d /libvncclient/zlib.c
parent188ccd2ee25df5334828f8bedcda6e4de96c837e (diff)
downloadlibtdevnc-422491c98ad260075ac5f819527906f4369550ef.tar.gz
libtdevnc-422491c98ad260075ac5f819527906f4369550ef.zip
signed vs unsigned warnings eliminated (gcc 4.0.1)
Diffstat (limited to 'libvncclient/zlib.c')
-rw-r--r--libvncclient/zlib.c2
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 {