summaryrefslogtreecommitdiff
path: root/src/sna/blt.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-06-04 11:32:42 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-06-04 11:32:42 +0100
commit4a3c355e056339aed68b70470556633dea899b1b (patch)
treedcf49b7cc04dabd8dab28c6b79c71ac2682851c5 /src/sna/blt.c
parent791029cc16bca36b8dec82297ff7e07a972c51ab (diff)
sna: Silence a compiler warning for loss of 'const' qualifier
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 65d586cb..e9d06ebe 100644
--- a/src/sna/blt.c
+++ b/src/sna/blt.c
@@ -150,7 +150,7 @@ memcpy_blt(const void *src, void *dst, int bpp,
int16_t dst_x, int16_t dst_y,
uint16_t width, uint16_t height)
{
- uint8_t *src_bytes;
+ const uint8_t *src_bytes;
uint8_t *dst_bytes;
int byte_width;