INN commit: trunk/lib (timer.c)

INN Commit rra at isc.org
Wed Jan 21 18:48:47 UTC 2015


    Date: Wednesday, January 21, 2015 @ 10:48:47
  Author: iulius
Revision: 9789

Fix the unsignedness of TMRgettime when printed

Modified:
  trunk/lib/timer.c

---------+
 timer.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: timer.c
===================================================================
--- timer.c	2015-01-10 20:46:06 UTC (rev 9788)
+++ timer.c	2015-01-21 18:48:47 UTC (rev 9789)
@@ -370,7 +370,7 @@
         off = 0;
     else
         off = snprintf(buf, len, "%s ", prefix);
-    off += snprintf(buf + off, len - off, "time %ld ", TMRgettime(true));
+    off += snprintf(buf + off, len - off, "time %lu ", TMRgettime(true));
     for (i = 0; i < timer_count; i++)
         if (timers[i] != NULL)
             off += TMRsumone(labels, timers[i], buf + off, len - off);



More information about the inn-committers mailing list