chiark / gitweb /
silence gcc warning on 32 bit
authorKay Sievers <kay@vrfy.org>
Mon, 4 Jun 2012 20:27:39 +0000 (22:27 +0200)
committerKay Sievers <kay@vrfy.org>
Mon, 4 Jun 2012 20:27:39 +0000 (22:27 +0200)
src/core/execute.c

index 1b56f6b..bbc430e 100644 (file)
@@ -1728,7 +1728,7 @@ void exec_context_dump(ExecContext *c, FILE* f, const char *prefix) {
         }
 
         if (c->timer_slack_nsec != (nsec_t) -1)
-                fprintf(f, "%sTimerSlackNSec: %lu\n", prefix, c->timer_slack_nsec);
+                fprintf(f, "%sTimerSlackNSec: %lu\n", prefix, (unsigned long)c->timer_slack_nsec);
 
         fprintf(f,
                 "%sStandardInput: %s\n"