1
0
mirror of https://gitlab.xiph.org/xiph/ezstream.git synced 2024-11-03 04:17:18 -05:00

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
This commit is contained in:
moritz 2007-08-08 21:52:50 +00:00
parent 4ca02d0ee8
commit cd26639a15

View File

@ -82,7 +82,7 @@ playlist_add(playlist_t *pl, const char *entry)
} }
if (pl->size / sizeof(char *) <= num) { if (pl->size / sizeof(char *) <= num) {
unsigned long i; size_t i;
pl->list = xrealloc(pl->list, 2, pl->size); pl->list = xrealloc(pl->list, 2, pl->size);
pl->size = 2 * pl->size; pl->size = 2 * pl->size;
@ -438,8 +438,8 @@ playlist_reread(playlist_t **plist)
void void
playlist_shuffle(playlist_t *pl) playlist_shuffle(playlist_t *pl)
{ {
unsigned long d, i, range; size_t d, i, range;
char *temp; char *temp;
if (pl == NULL) { if (pl == NULL) {
printf("%s: playlist_shuffle(): Internal error: NULL argument\n", printf("%s: playlist_shuffle(): Internal error: NULL argument\n",