INN commit: branches/2.5/lib (timer.c)

INN Commit rra at isc.org
Wed Jan 21 18:49:11 UTC 2015


    Date: Wednesday, January 21, 2015 @ 10:49:11
  Author: iulius
Revision: 9790

Fix the unsignedness of TMRgettime when printed

Modified:
  branches/2.5/lib/timer.c

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

Modified: timer.c
===================================================================
--- timer.c	2015-01-21 18:48:47 UTC (rev 9789)
+++ timer.c	2015-01-21 18:49:11 UTC (rev 9790)
@@ -366,7 +366,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