From: Michael Stapelberg Date: Wed, 5 Sep 2012 20:22:48 +0000 (+0200) Subject: fix format string warnings X-Git-Tag: 4.3~37 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=34391ae885911d4aff933f6434f71babd65fc474;p=i3%2Fi3 fix format string warnings --- diff --git a/src/startup.c b/src/startup.c index 404927b4..89324dbd 100644 --- a/src/startup.c +++ b/src/startup.c @@ -74,7 +74,7 @@ static int _delete_startup_sequence(struct Startup_Sequence *sequence) { /* Mark the given sequence for deletion in 30 seconds. */ sequence->delete_at = current_time + 30; - DLOG("Will delete startup sequence %s at timestamp %d\n", + DLOG("Will delete startup sequence %s at timestamp %ld\n", sequence->id, sequence->delete_at); /* Traverse the list and delete everything which was marked for deletion 30 @@ -94,7 +94,7 @@ static int _delete_startup_sequence(struct Startup_Sequence *sequence) { if (current_time <= current->delete_at) continue; - DLOG("Deleting startup sequence %s, delete_at = %d, current_time = %d\n", + DLOG("Deleting startup sequence %s, delete_at = %ld, current_time = %ld\n", current->id, current->delete_at, current_time); /* Unref the context, will be free()d */