mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-12 02:04:58 +00:00
Alpha: add some const, kill some warnings
Originally committed as revision 16665 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
b4097b13d4
commit
c2fbf89398
@ -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…
Reference in New Issue
Block a user