aboutsummaryrefslogtreecommitdiff
path: root/vnchextile.h
diff options
context:
space:
mode:
Diffstat (limited to 'vnchextile.h')
-rw-r--r--vnchextile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnchextile.h b/vnchextile.h
index 35dcc5727..09c1b2785 100644
--- a/vnchextile.h
+++ b/vnchextile.h
@@ -13,7 +13,7 @@ static void CONCAT(send_hextile_tile_, NAME)(VncState *vs,
uint32_t *last_fg32,
int *has_bg, int *has_fg)
{
- char *row = (vs->ds->data + y * vs->ds->linesize + x * vs->depth);
+ uint8_t *row = (vs->ds->data + y * vs->ds->linesize + x * vs->depth);
pixel_t *irow = (pixel_t *)row;
int j, i;
pixel_t *last_bg = (pixel_t *)last_bg32;