[xiph-commits] r11584 - icecast/trunk/libshout/examples

msmith at svn.xiph.org msmith at svn.xiph.org
Sun Jun 18 07:45:10 PDT 2006


Author: msmith
Date: 2006-06-18 07:45:07 -0700 (Sun, 18 Jun 2006)
New Revision: 11584

Modified:
   icecast/trunk/libshout/examples/nonblocking.c
Log:
Cast to int to prevent warnings and type mismatches depending on what size_t
actually is.


Modified: icecast/trunk/libshout/examples/nonblocking.c
===================================================================
--- icecast/trunk/libshout/examples/nonblocking.c	2006-06-16 12:22:46 UTC (rev 11583)
+++ icecast/trunk/libshout/examples/nonblocking.c	2006-06-18 14:45:07 UTC (rev 11584)
@@ -89,7 +89,8 @@
 				break;
 			}
 			if (shout_queuelen(shout) > 0)
-				printf("DEBUG: queue length: %d\n", shout_queuelen(shout));
+				printf("DEBUG: queue length: %d\n", 
+                                        (int)shout_queuelen(shout));
 
 			shout_sync(shout);
 		}



More information about the commits mailing list