1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2025-02-02 15:07:36 -05:00

remove warning wrt time_t

svn path=/trunk/icecast/; revision=5874
This commit is contained in:
Karl Heyes 2004-02-29 14:55:04 +00:00
parent 6ba8c0b2cd
commit c8ecb463f9

View File

@ -190,7 +190,8 @@ xmlDocPtr admin_build_sourcelist(char *current_source)
source->fallback_mount:"");
snprintf(buf, sizeof(buf), "%ld", source->listeners);
xmlNewChild(srcnode, NULL, "listeners", buf);
snprintf(buf, sizeof(buf), "%ld", now - source->con->con_time);
snprintf(buf, sizeof(buf), "%lu",
(unsigned long)(now - source->con->con_time));
xmlNewChild(srcnode, NULL, "Connected", buf);
xmlNewChild(srcnode, NULL, "Format",
source->format->format_description);