[xiph-commits] r18754 - icecast/branches/ph3/libshout/examples

ph3-der-loewe at svn.xiph.org ph3-der-loewe at svn.xiph.org
Sat Dec 22 18:35:59 PST 2012


Author: ph3-der-loewe
Date: 2012-12-22 18:35:59 -0800 (Sat, 22 Dec 2012)
New Revision: 18754

Modified:
   icecast/branches/ph3/libshout/examples/example.c
   icecast/branches/ph3/libshout/examples/nonblocking.c
Log:
avoid compiler warnings

Modified: icecast/branches/ph3/libshout/examples/example.c
===================================================================
--- icecast/branches/ph3/libshout/examples/example.c	2012-12-23 02:32:48 UTC (rev 18753)
+++ icecast/branches/ph3/libshout/examples/example.c	2012-12-23 02:35:59 UTC (rev 18754)
@@ -11,7 +11,7 @@
 int main()
 {
 	shout_t *shout;
-	char buff[4096];
+	unsigned char buff[4096];
 	long read, ret, total;
 
 	shout_init();

Modified: icecast/branches/ph3/libshout/examples/nonblocking.c
===================================================================
--- icecast/branches/ph3/libshout/examples/nonblocking.c	2012-12-23 02:32:48 UTC (rev 18753)
+++ icecast/branches/ph3/libshout/examples/nonblocking.c	2012-12-23 02:35:59 UTC (rev 18754)
@@ -13,7 +13,7 @@
 int main()
 {
 	shout_t *shout;
-	char buff[4096];
+	unsigned char buff[4096];
 	long read, ret, total;
 
 	shout_init();



More information about the commits mailing list