Browse code

Fix build failure with fast_unaligned and non-gcc-compatible compilers

Originally committed as revision 22142 to svn://svn.ffmpeg.org/ffmpeg/trunk

Måns Rullgård authored on 2010/03/02 12:16:24
Showing 1 changed files
... ...
@@ -194,7 +194,7 @@ union unaligned_16 { uint16_t l; } __attribute__((packed)) av_alias;
194 194
 #elif HAVE_FAST_UNALIGNED
195 195
 
196 196
 #   define AV_RN(s, p) (((const av_alias##s*)(p))->u##s)
197
-#   define AV_WN(s, p, v) (((uint##s##_t*)(p))->u##s = (v))
197
+#   define AV_WN(s, p, v) (((av_alias##s*)(p))->u##s = (v))
198 198
 
199 199
 #else
200 200