*oops*
authorSegher Boessenkool <segher@xiph.org>
Fri, 21 Dec 2001 15:05:30 +0000 (15:05 +0000)
committerSegher Boessenkool <segher@xiph.org>
Fri, 21 Dec 2001 15:05:30 +0000 (15:05 +0000)
svn path=/trunk/vorbis/; revision=2882

lib/res0.c

index 7d5ac0e9d0db5c7500970873185170f07e37ebe3..6267be93da44c53b333f33d5852f5d727a63bb02 100644 (file)
@@ -11,7 +11,7 @@
  ********************************************************************
 
  function: residue backend 0, 1 and 2 implementation
- last mod: $Id: res0.c,v 1.43 2001/12/21 14:52:36 segher Exp $
+ last mod: $Id: res0.c,v 1.44 2001/12/21 15:05:30 segher Exp $
 
  ********************************************************************/
 
@@ -272,7 +272,7 @@ vorbis_look_residue *res0_look(vorbis_dsp_state *vd,vorbis_info_mode *vm,
     }
   }
 
-  look->partvals=rint(pow((float)look->parts,(pow)dim));
+  look->partvals=rint(pow((float)look->parts,(float)dim));
   look->stages=maxstage;
   look->decodemap=_ogg_malloc(look->partvals*sizeof(*look->decodemap));
   for(j=0;j<look->partvals;j++){