changeset 854:d6d589d11549 libavutil

Fix build failure with fast_unaligned and non-gcc-compatible compilers
author mru
date Tue, 02 Mar 2010 03:16:24 +0000
parents e067fb9b7d68
children ccac021c9a8e
files intreadwrite.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/intreadwrite.h	Mon Mar 01 18:16:10 2010 +0000
+++ b/intreadwrite.h	Tue Mar 02 03:16:24 2010 +0000
@@ -194,7 +194,7 @@
 #elif HAVE_FAST_UNALIGNED
 
 #   define AV_RN(s, p) (((const av_alias##s*)(p))->u##s)
-#   define AV_WN(s, p, v) (((uint##s##_t*)(p))->u##s = (v))
+#   define AV_WN(s, p, v) (((av_alias##s*)(p))->u##s = (v))
 
 #else