summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/codecs/libtremor/codebook.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/libtremor/codebook.c b/apps/codecs/libtremor/codebook.c
index e75dddb29c..561b597aeb 100644
--- a/apps/codecs/libtremor/codebook.c
+++ b/apps/codecs/libtremor/codebook.c
@@ -195,7 +195,7 @@ static inline ogg_uint32_t bitreverse(register ogg_uint32_t x)
#ifdef CPU_COLDFIRE
ret = x;
- asm ("swap %[r]" : [r] "+r" (ret)); /* swap halfwords */
+ asm ("swap %[r]" : [r] "+d" (ret)); /* swap halfwords */
#else
ret = (x>>16) | (x<<16);
#endif