summaryrefslogtreecommitdiff
path: root/src/sna/blt.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-11-06 11:13:27 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2011-11-06 11:14:28 +0000
commitcd3d86037746f3a03c4004c1e3ba6e8281344745 (patch)
tree87fdba12c71a6aa4a8f822acc4003da83bcdf036 /src/sna/blt.c
parent0b9408d972050cb02c1024926c406cd45508a158 (diff)
sna: Beware unsigned promotion of int16_t to uint32_t
Mmakes for an unhappy mempy! Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/blt.c')
-rw-r--r--src/sna/blt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/blt.c b/src/sna/blt.c
index 075ac8a1..5dc318ca 100644
--- a/src/sna/blt.c
+++ b/src/sna/blt.c
@@ -38,7 +38,7 @@
void
memcpy_blt(const void *src, void *dst, int bpp,
- uint32_t src_stride, uint32_t dst_stride,
+ int32_t src_stride, int32_t dst_stride,
int16_t src_x, int16_t src_y,
int16_t dst_x, int16_t dst_y,
uint16_t width, uint16_t height)