[xiph-commits] r13467 - trunk/ezstream/src

moritz at svn.xiph.org moritz at svn.xiph.org
Wed Aug 8 14:52:50 PDT 2007


Author: moritz
Date: 2007-08-08 14:52:50 -0700 (Wed, 08 Aug 2007)
New Revision: 13467

Modified:
   trunk/ezstream/src/playlist.c
Log:
Since playlist_t is using size_t, change two unsigned longs to size_t as well.


Modified: trunk/ezstream/src/playlist.c
===================================================================
--- trunk/ezstream/src/playlist.c	2007-08-08 21:33:38 UTC (rev 13466)
+++ trunk/ezstream/src/playlist.c	2007-08-08 21:52:50 UTC (rev 13467)
@@ -82,7 +82,7 @@
 	}
 
 	if (pl->size / sizeof(char *) <= num) {
-		unsigned long	i;
+		size_t	i;
 
 		pl->list = xrealloc(pl->list, 2, pl->size);
 		pl->size = 2 * pl->size;
@@ -438,8 +438,8 @@
 void
 playlist_shuffle(playlist_t *pl)
 {
-	unsigned long	 d, i, range;
-	char		*temp;
+	size_t	 d, i, range;
+	char	*temp;
 
 	if (pl == NULL) {
 		printf("%s: playlist_shuffle(): Internal error: NULL argument\n",



More information about the commits mailing list