Browse Source

Alpha: add some const, kill some warnings

Originally committed as revision 16665 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Måns Rullgård 16 years ago
parent
commit
c2fbf89398
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavcodec/alpha/asm.h

+ 2
- 2
libavcodec/alpha/asm.h View File

@@ -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)


Loading…
Cancel
Save