]> git.sur5r.net Git - i3/i3/commitdiff
fix format string warnings
authorMichael Stapelberg <michael@stapelberg.de>
Wed, 5 Sep 2012 20:22:48 +0000 (22:22 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Wed, 5 Sep 2012 20:26:59 +0000 (22:26 +0200)
src/startup.c

index 404927b48bc35f92dbc0cc8d16d53abc35918d57..89324dbd250f81a84f0727f9eee95cc3b2621696 100644 (file)
@@ -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 */