summaryrefslogtreecommitdiffstats
path: root/libvncclient/hextile.c
diff options
context:
space:
mode:
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;
}