[xiph-cvs] cvs commit: icecast/src admin.c

Karl Heyes karl at xiph.org
Sun Feb 29 06:55:06 PST 2004



karl        04/02/29 09:55:05

  Modified:    src      admin.c
  Log:
  remove warning wrt time_t

Revision  Changes    Path
1.28      +2 -1      icecast/src/admin.c

Index: admin.c
===================================================================
RCS file: /usr/local/cvsroot/icecast/src/admin.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- admin.c	26 Feb 2004 10:39:56 -0000	1.27
+++ admin.c	29 Feb 2004 14:55:04 -0000	1.28
@@ -190,7 +190,8 @@
                     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);

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list