summaryrefslogtreecommitdiff
path: root/qemu/vnchextile.h
diff options
context:
space:
mode:
authorths <ths>2007-12-16 03:02:08 +0000
committerths <ths>2007-12-16 03:02:08 +0000
commitc477276cf2ed4e7caf7264af65c39d57ecdab648 (patch)
tree87581967c6e0b7707423962270035110ebe91986 /qemu/vnchextile.h
parentcf38fbc225f52b70fe39dea34af7085a71bcf7ef (diff)
Fix wrong signedness, by Andre Przywara.
Diffstat (limited to 'qemu/vnchextile.h')
-rw-r--r--qemu/vnchextile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu/vnchextile.h b/qemu/vnchextile.h
index 35dcc572..09c1b278 100644
--- a/qemu/vnchextile.h
+++ b/qemu/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;