From 60fe76f38605e0e2eedb436d0945af283029c4e0 Mon Sep 17 00:00:00 2001 From: ths Date: Sun, 16 Dec 2007 03:02:09 +0000 Subject: Fix wrong signedness, by Andre Przywara. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3815 c046a42c-6fe2-441c-8c8c-71466251a162 --- vnchextile.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vnchextile.h') diff --git a/vnchextile.h b/vnchextile.h index 35dcc57..09c1b27 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; -- cgit v1.1