# HG changeset patch # User mru # Date 1267499784 0 # Node ID d6d589d11549dc5337fa1aeddcbb013d0051a9e0 # Parent e067fb9b7d6870ce5ffc9f4fca8d791767bf2940 Fix build failure with fast_unaligned and non-gcc-compatible compilers diff -r e067fb9b7d68 -r d6d589d11549 intreadwrite.h --- 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