diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/winsys/sw/dri/dri_sw_winsys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/sw/dri/dri_sw_winsys.c b/src/gallium/winsys/sw/dri/dri_sw_winsys.c index 94d5092405e..00849985d6b 100644 --- a/src/gallium/winsys/sw/dri/dri_sw_winsys.c +++ b/src/gallium/winsys/sw/dri/dri_sw_winsys.c @@ -200,7 +200,7 @@ dri_sw_displaytarget_display(struct sw_winsys *ws, if (box) { void *data; - data = dri_sw_dt->data + (dri_sw_dt->stride * box->y) + box->x * blsize; + data = (char *)dri_sw_dt->data + (dri_sw_dt->stride * box->y) + box->x * blsize; dri_sw_ws->lf->put_image2(dri_drawable, data, box->x, box->y, box->width, box->height, dri_sw_dt->stride); } else { |