[xiph-commits] r3439 - libannodex/trunk/src/libannodex

johnf at svn.annodex.net johnf at svn.annodex.net
Sat Feb 9 15:12:37 PST 2008


Author: johnf
Date: 2008-02-09 15:12:32 -0800 (Sat, 09 Feb 2008)
New Revision: 3439

Modified:
   libannodex/trunk/src/libannodex/anx_read.c
Log:
distcheck now succeeds. The casting her is a bit evil but this library is going away soon anyway

Modified: libannodex/trunk/src/libannodex/anx_read.c
===================================================================
--- libannodex/trunk/src/libannodex/anx_read.c	2008-02-09 23:06:23 UTC (rev 3438)
+++ libannodex/trunk/src/libannodex/anx_read.c	2008-02-09 23:12:32 UTC (rev 3439)
@@ -307,7 +307,7 @@
   anx_int64_t tn, td;
   /*char * utc = NULL;*/
 
-  if (n < sizeof (FISHEAD_SIZE)) {
+  if (n < (long) sizeof (FISHEAD_SIZE)) {
     /* XXX: header too small! */
     return -1;
   }
@@ -416,7 +416,7 @@
   anx_int64_t tn, td;
   /*char * utc = NULL;*/
 
-  if (n < sizeof (AnxMapping)) {
+  if (n < (long) sizeof (AnxMapping)) {
     /* XXX: header too small! */
     return -1;
   }



More information about the commits mailing list