From: Andre Noll Date: Tue, 7 Jul 2009 13:53:59 +0000 (+0200) Subject: fade.c: Fix a gcc warning on FreeBSD. X-Git-Tag: v0.3.5~28 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=d3f9f845e13f5b280c9ea4078a1d7db649dbba3c;ds=inline fade.c: Fix a gcc warning on FreeBSD. fade.c:220: warning: long unsigned int format, time_t arg (arg 4) --- diff --git a/fade.c b/fade.c index 7f884473..8fb02d40 100644 --- a/fade.c +++ b/fade.c @@ -217,7 +217,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);