summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-04-20 10:09:55 -0600
committerBrian Paul <brianp@vmware.com>2010-04-20 10:10:48 -0600
commit4d2804791a2c4afc80a0facec9634353059cce14 (patch)
treeb970e7cee6037246fd82c9eab22593f1998f495a /src
parentd022bddf24b0f842ae96cf04a827e8995ac04e92 (diff)
nv50: fixed void pointer arithment warning
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/nv50/nv50_transfer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv50/nv50_transfer.c b/src/gallium/drivers/nv50/nv50_transfer.c
index 9fefed4fef..c5581a6f9d 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);