[FFmpeg-cvslog] r16665 - trunk/libavcodec/alpha/asm.h
mru
subversion
Sun Jan 18 06:52:08 CET 2009
Author: mru
Date: Sun Jan 18 06:52:08 2009
New Revision: 16665
Log:
Alpha: add some const, kill some warnings
Modified:
trunk/libavcodec/alpha/asm.h
Modified: trunk/libavcodec/alpha/asm.h
==============================================================================
--- trunk/libavcodec/alpha/asm.h Sun Jan 18 02:48:14 2009 (r16664)
+++ trunk/libavcodec/alpha/asm.h Sun Jan 18 06:52:08 2009 (r16665)
@@ -62,12 +62,12 @@ static inline uint64_t WORD_VEC(uint64_t
#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)
More information about the ffmpeg-cvslog
mailing list