From cd26639a15b85cab688ee44ea9ba686426718e04 Mon Sep 17 00:00:00 2001 From: moritz Date: Wed, 8 Aug 2007 21:52:50 +0000 Subject: [PATCH] Since playlist_t is using size_t, change two unsigned longs to size_t as well. git-svn-id: https://svn.xiph.org/trunk/ezstream@13467 0101bb08-14d6-0310-b084-bc0e0c8e3800 --- src/playlist.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/playlist.c b/src/playlist.c index 461dc9a..1dc05da 100644 --- a/src/playlist.c +++ b/src/playlist.c @@ -82,7 +82,7 @@ playlist_add(playlist_t *pl, const char *entry) } 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 @@ playlist_reread(playlist_t **plist) 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",