From b22e67fbf0186101268b9e20b1c410797db075f2 Mon Sep 17 00:00:00 2001 From: PetteriAimonen Date: Sun, 17 Feb 2013 08:12:25 +0000 Subject: [PATCH] Fix bug in the fix16_fft example --- contrib/fix16_fft.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/fix16_fft.c b/contrib/fix16_fft.c index 1ecfc3f..a3709ba 100644 --- a/contrib/fix16_fft.c +++ b/contrib/fix16_fft.c @@ -85,7 +85,7 @@ static void butterfly(fix16_t *real, fix16_t *imag, unsigned blocksize, unsigned static uint32_t rbit_32(uint32_t x) { #if defined(__GNUC__) && defined(__ARM_ARCH_7M__) - __asm__("rbit %0,%0" :: "r"(x)); + __asm__("rbit %0,%0" : "=r"(x) : "0"(x)); return x; #else x = (((x & 0xaaaaaaaa) >> 1) | ((x & 0x55555555) << 1));