From: Brian Paul Date: Tue, 20 Apr 2010 16:09:55 +0000 (-0600) Subject: nv50: fixed void pointer arithment warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4d2804791a2c4afc80a0facec9634353059cce14;p=mesa.git nv50: fixed void pointer arithment warning --- diff --git a/src/gallium/drivers/nv50/nv50_transfer.c b/src/gallium/drivers/nv50/nv50_transfer.c index 9fefed4fef9..c5581a6f9d0 100644 --- a/src/gallium/drivers/nv50/nv50_transfer.c +++ b/src/gallium/drivers/nv50/nv50_transfer.c @@ -344,7 +344,7 @@ nv50_upload_sifc(struct nv50_context *nv50, count -= nr; } - src += src_pitch; + src = (uint8_t *) src + src_pitch; } BEGIN_RING(chan, tesla, NV50TCL_CODE_CB_FLUSH, 1);