X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=fade.c;h=8fb02d402f5881542409b9e22583fc4aa191b146;hp=33f1ccbeda51ae52cc1dd6a627b545aee84b0923;hb=d3f9f845e13f5b280c9ea4078a1d7db649dbba3c;hpb=bf475be06220f4e727cfcb960f29b031b0811991 diff --git a/fade.c b/fade.c index 33f1ccbe..8fb02d40 100644 --- a/fade.c +++ b/fade.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1998-2008 Andre Noll + * Copyright (C) 1998-2009 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -13,14 +13,14 @@ #include "para.h" #include "fd.h" -#include +#include #include #include /* EXIT_SUCCESS */ #include #include #include #include -#include +#include #include "string.h" #include "error.h" @@ -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);