Originally committed as revision 16665 to svn://svn.ffmpeg.org/ffmpeg/trunk
| ... | ... |
@@ -62,12 +62,12 @@ static inline uint64_t WORD_VEC(uint64_t x) |
| 62 | 62 |
|
| 63 | 63 |
#ifdef __GNUC__ |
| 64 | 64 |
#define ldq(p) \ |
| 65 |
- (((union { \
|
|
| 65 |
+ (((const union { \
|
|
| 66 | 66 |
uint64_t __l; \ |
| 67 | 67 |
__typeof__(*(p)) __s[sizeof (uint64_t) / sizeof *(p)]; \ |
| 68 | 68 |
} *) (p))->__l) |
| 69 | 69 |
#define ldl(p) \ |
| 70 |
- (((union { \
|
|
| 70 |
+ (((const union { \
|
|
| 71 | 71 |
int32_t __l; \ |
| 72 | 72 |
__typeof__(*(p)) __s[sizeof (int32_t) / sizeof *(p)]; \ |
| 73 | 73 |
} *) (p))->__l) |