Merge commit 'fml/master' into next
[paraslash.git] / fade.c
diff --git a/fade.c b/fade.c
index 0304f4c6637a00fb89d9c5e43c6f04c78b616d16..aa7997eb94b87ee34dc8b3d334c9e7a200ddf88d 100644 (file)
--- a/fade.c
+++ b/fade.c
@@ -216,7 +216,7 @@ static int sweet_dreams(void)
                tm->tm_sec = 0;
        } else {
                t1 += 9 * 60 * 60; /* nine hours from now */
                tm->tm_sec = 0;
        } else {
                t1 += 9 * 60 * 60; /* nine hours from now */
-               PARA_INFO_LOG("default wake time: %lu\n", t1);
+               PARA_INFO_LOG("default wake time: %lu\n", (long unsigned)t1);
                tm = localtime(&t1);
        }
        wake_time_epoch = mktime(tm);
                tm = localtime(&t1);
        }
        wake_time_epoch = mktime(tm);