diff options
author | Brian Paul <[email protected]> | 2010-04-20 10:09:55 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-04-20 10:10:48 -0600 |
commit | 4d2804791a2c4afc80a0facec9634353059cce14 (patch) | |
tree | b970e7cee6037246fd82c9eab22593f1998f495a /src/gallium/drivers/nv50 | |
parent | d022bddf24b0f842ae96cf04a827e8995ac04e92 (diff) |
nv50: fixed void pointer arithment warning
Diffstat (limited to 'src/gallium/drivers/nv50')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_transfer.c | 2 |
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 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); |