summaryrefslogtreecommitdiffstats
path: root/libvncclient/hextile.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/hextile.c
parent188ccd2ee25df5334828f8bedcda6e4de96c837e (diff)
downloadlibtdevnc-422491c98ad260075ac5f819527906f4369550ef.tar.gz
libtdevnc-422491c98ad260075ac5f819527906f4369550ef.zip
signed vs unsigned warnings eliminated (gcc 4.0.1)
Diffstat (limited to 'libvncclient/hextile.c')
-rw-r--r--libvncclient/hextile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvncclient/hextile.c b/libvncclient/hextile.c
index 6f0d70b..8698445 100644
--- a/libvncclient/hextile.c
+++ b/libvncclient/hextile.c
@@ -55,7 +55,7 @@ HandleHextileBPP (rfbClient* client, int rx, int ry, int rw, int rh)
if (!ReadFromRFBServer(client, client->buffer, w * h * (BPP / 8)))
return FALSE;
- CopyRectangle(client, client->buffer, x, y, w, h);
+ CopyRectangle(client, (uint8_t *)client->buffer, x, y, w, h);
continue;
}