[xiph-commits] r11387 - trunk/speex/libspeex

jm at svn.xiph.org jm at svn.xiph.org
Tue May 9 04:34:40 PDT 2006


Author: jm
Date: 2006-05-09 04:34:37 -0700 (Tue, 09 May 2006)
New Revision: 11387

Modified:
   trunk/speex/libspeex/pseudofloat.h
Log:
another fix for 16-bit platforms


Modified: trunk/speex/libspeex/pseudofloat.h
===================================================================
--- trunk/speex/libspeex/pseudofloat.h	2006-05-09 11:26:28 UTC (rev 11386)
+++ trunk/speex/libspeex/pseudofloat.h	2006-05-09 11:34:37 UTC (rev 11387)
@@ -264,12 +264,12 @@
    {
       return FLOAT_ZERO;
    }
-   while (a<SHL32(b.m,14))
+   while (a<SHL32(EXTEND32(b.m),14))
    {
       a <<= 1;
       e--;
    }
-   while (a>=SHL32(b.m-1,15))
+   while (a>=SHL32(EXTEND32(b.m-1),15))
    {
       a >>= 1;
       e++;



More information about the commits mailing list