comparison alpha/asm.h @ 8618:178755e9663d libavcodec

Alpha: add some const, kill some warnings
author mru
date Sun, 18 Jan 2009 05:52:08 +0000
parents eebc7209c47f
children 206d0cfa3163
comparison
equal deleted inserted replaced
8617:2d6a70824dfe 8618:178755e9663d
60 60
61 #define sextw(x) ((int16_t) (x)) 61 #define sextw(x) ((int16_t) (x))
62 62
63 #ifdef __GNUC__ 63 #ifdef __GNUC__
64 #define ldq(p) \ 64 #define ldq(p) \
65 (((union { \ 65 (((const union { \
66 uint64_t __l; \ 66 uint64_t __l; \
67 __typeof__(*(p)) __s[sizeof (uint64_t) / sizeof *(p)]; \ 67 __typeof__(*(p)) __s[sizeof (uint64_t) / sizeof *(p)]; \
68 } *) (p))->__l) 68 } *) (p))->__l)
69 #define ldl(p) \ 69 #define ldl(p) \
70 (((union { \ 70 (((const union { \
71 int32_t __l; \ 71 int32_t __l; \
72 __typeof__(*(p)) __s[sizeof (int32_t) / sizeof *(p)]; \ 72 __typeof__(*(p)) __s[sizeof (int32_t) / sizeof *(p)]; \
73 } *) (p))->__l) 73 } *) (p))->__l)
74 #define stq(l, p) \ 74 #define stq(l, p) \
75 do { \ 75 do { \