[xiph-cvs] cvs commit: Tremor mapping0.c

Monty xiphmont at xiph.org
Wed Nov 19 22:19:09 PST 2003



xiphmont    03/11/20 01:19:09

  Modified:    .        Tag: lowmem-branch mapping0.c
  Log:
  kill off another compiler warning due to a (harmless) miscast.

Revision  Changes    Path
No                   revision

<p>No                   revision

<p>1.3.6.8   +4 -4      Tremor/mapping0.c

Index: mapping0.c
===================================================================
RCS file: /usr/local/cvsroot/Tremor/mapping0.c,v
retrieving revision 1.3.6.7
retrieving revision 1.3.6.8
diff -u -r1.3.6.7 -r1.3.6.8
--- mapping0.c	22 Apr 2003 09:00:49 -0000	1.3.6.7
+++ mapping0.c	20 Nov 2003 06:19:09 -0000	1.3.6.8
@@ -109,13 +109,13 @@
   long                  n=ci->blocksizes[vd->W];
 
   ogg_int32_t **pcmbundle=
-    (ogg_int32_t **)alloca(sizeof(*pcmbundle)*vi->channels);
+    alloca(sizeof(*pcmbundle)*vi->channels);
   int          *zerobundle=
-    (int *)alloca(sizeof(*zerobundle)*vi->channels);
+    alloca(sizeof(*zerobundle)*vi->channels);
   int          *nonzero=
-    (int *)alloca(sizeof(*nonzero)*vi->channels);
+    alloca(sizeof(*nonzero)*vi->channels);
   ogg_int32_t **floormemo=
-    (void **)alloca(sizeof(*floormemo)*vi->channels);
+    alloca(sizeof(*floormemo)*vi->channels);
   
   /* recover the spectral envelope; store it in the PCM vector for now */
   for(i=0;i<vi->channels;i++){

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list