From a093271f95be121a3de7d673ecefde5473082bf4 Mon Sep 17 00:00:00 2001 From: Karl Heyes Date: Mon, 17 Nov 2003 21:36:03 +0000 Subject: [PATCH] type warning cleanup svn path=/trunk/icecast/; revision=5586 --- src/yp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/yp.c b/src/yp.c index a6e6e863..2c35089c 100644 --- a/src/yp.c +++ b/src/yp.c @@ -86,9 +86,9 @@ int yp_remove(source_t *source) int curl_con = 0; int i = 0; - long current_time = 0; + time_t current_time = 0; - current_time = time(¤t_time); + current_time = time(NULL); for (i=0; inum_yp_directories; i++) { source->ypdata[i]->yp_last_touch = current_time; @@ -132,7 +132,7 @@ int yp_touch() int curl_con = 0; int i = 0; int regen_sid = 0; - long current_time = 0; + time_t current_time = 0; avl_node *node; source_t *source; char current_song[256];