X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=fade.c;h=868ada4120b55c67fd3260ea93f6d81ba42b9f9d;hp=0304f4c6637a00fb89d9c5e43c6f04c78b616d16;hb=8d76c430e774231a6494d36babb0f63a3cabb893;hpb=a37e903213215dd36b11bbde4ea98e1d4590a472 diff --git a/fade.c b/fade.c index 0304f4c6..868ada41 100644 --- a/fade.c +++ b/fade.c @@ -25,7 +25,7 @@ #include "error.h" INIT_FADE_ERRLISTS; -struct fade_args_info conf; +static struct fade_args_info conf; __printf_2_3 void para_log(__a_unused int ll, const char *fmt, ...) { @@ -216,7 +216,7 @@ static int sweet_dreams(void) 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);