aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/alpha
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-01-18 05:52:08 +0000
committerMåns Rullgård <mans@mansr.com>2009-01-18 05:52:08 +0000
commitc2fbf89398bcb3e8b652c23a18200d79cac84fc2 (patch)
treeb3bd58e0efeb58f6cfc8c8f23d15df34de3f8cfe /libavcodec/alpha
parentb4097b13d4f290664630df0c05acf4e62e64d5d3 (diff)
downloadffmpeg-c2fbf89398bcb3e8b652c23a18200d79cac84fc2.tar.gz
Alpha: add some const, kill some warnings
Originally committed as revision 16665 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/alpha')
-rw-r--r--libavcodec/alpha/asm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/alpha/asm.h b/libavcodec/alpha/asm.h
index 1877704e7b..04d4f89a5a 100644
--- a/libavcodec/alpha/asm.h
+++ b/libavcodec/alpha/asm.h
@@ -62,12 +62,12 @@ static inline uint64_t WORD_VEC(uint64_t x)
#ifdef __GNUC__
#define ldq(p) \
- (((union { \
+ (((const union { \
uint64_t __l; \
__typeof__(*(p)) __s[sizeof (uint64_t) / sizeof *(p)]; \
} *) (p))->__l)
#define ldl(p) \
- (((union { \
+ (((const union { \
int32_t __l; \
__typeof__(*(p)) __s[sizeof (int32_t) / sizeof *(p)]; \
} *) (p))->__l)