aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--codecs/log2comp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/codecs/log2comp.h b/codecs/log2comp.h
index 56f2d8305..aa397c858 100644
--- a/codecs/log2comp.h
+++ b/codecs/log2comp.h
@@ -43,7 +43,7 @@ static inline int ilog2(int val)
decl %0 ;\
bsrl %1, %0 ;\
"
- : "=r" (a)
+ : "=&r" (a)
: "mr" (val)
: "cc"
);