diff 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
line wrap: on
line diff
--- a/alpha/asm.h	Sat Jan 17 21:44:58 2009 +0000
+++ b/alpha/asm.h	Sun Jan 18 05:52:08 2009 +0000
@@ -62,12 +62,12 @@
 
 #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)