[xiph-commits] r10645 - trunk/vorbis-tools/ogginfo

giles at svn.xiph.org giles at svn.xiph.org
Sun Dec 18 10:58:38 PST 2005


Author: giles
Date: 2005-12-18 10:58:38 -0800 (Sun, 18 Dec 2005)
New Revision: 10645

Modified:
   trunk/vorbis-tools/ogginfo/ogginfo2.c
Log:
Correct two warnings.


Modified: trunk/vorbis-tools/ogginfo/ogginfo2.c
===================================================================
--- trunk/vorbis-tools/ogginfo/ogginfo2.c	2005-12-18 18:55:05 UTC (rev 10644)
+++ trunk/vorbis-tools/ogginfo/ogginfo2.c	2005-12-18 18:58:38 UTC (rev 10645)
@@ -13,6 +13,7 @@
 #include <string.h>
 #include <stdarg.h>
 #include <getopt.h>
+#include <math.h>
 
 #include <ogg/ogg.h>
 #include <vorbis/codec.h>
@@ -188,7 +189,7 @@
     if(broken)
 	return;
 
-    val = comment;
+    val = (unsigned char *)comment;
 
     j = sep-comment+1;
     while(j < comment_length)



More information about the commits mailing list