changeset 8618:178755e9663d libavcodec

Alpha: add some const, kill some warnings
author mru
date Sun, 18 Jan 2009 05:52:08 +0000
parents 2d6a70824dfe
children ce9b3d6a0abf
files alpha/asm.h
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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)