summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 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);