aboutsummaryrefslogtreecommitdiffstats
path: root/codecs
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-03-18 19:24:45 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-03-18 19:24:45 +0000
commit933ab1321b4136f1146ef798f5bb5c56a3e2bcff (patch)
treef6fc8178799c7452fb1ae202565770c38845700f /codecs
parent2a0fbe93816d555f24e5a8b7685acf5445e1e8a3 (diff)
Merged revisions 109651 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ................ r109651 | qwell | 2008-03-18 14:24:15 -0500 (Tue, 18 Mar 2008) | 15 lines Merged revisions 109648 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r109648 | qwell | 2008-03-18 14:23:44 -0500 (Tue, 18 Mar 2008) | 7 lines Allow codecs that use log2comp (g726) to compile correctly on x86 with gcc4 optimizations. (closes issue #12253) Reported by: fossil Patches: log2comp.patch uploaded by fossil (license 140) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@109654 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'codecs')
-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"
);