diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-06-04 12:29:58 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-06-04 12:31:10 +0100 |
commit | c9bd4ed7d7d5c9ba6924e911652e03abc9267865 (patch) | |
tree | ceefb2b80fcc09d5814a07659acb3345919d8d09 | |
parent | 6f8b411b8a833cca6fce8888ce515db6413d57ca (diff) |
legacy/i810: Silence a compiler warning for missing 'const'
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/legacy/i810/i810_common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/legacy/i810/i810_common.h b/src/legacy/i810/i810_common.h index 14b29939..efa2a7d3 100644 --- a/src/legacy/i810/i810_common.h +++ b/src/legacy/i810/i810_common.h @@ -77,7 +77,7 @@ static inline void memcpy_volatile(volatile void *dst, const void *src, int i; for (i = 0; i < len; i++) - ((volatile char *)dst)[i] = ((volatile char *)src)[i]; + ((volatile char *)dst)[i] = ((const volatile char *)src)[i]; } /* Memory mapped register access macros */ |