projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7f19d0
)
fade.c: Fix a gcc warning on FreeBSD.
author
Andre Noll
<maan@systemlinux.org>
Tue, 7 Jul 2009 13:53:59 +0000
(15:53 +0200)
committer
Andre Noll
<maan@systemlinux.org>
Tue, 7 Jul 2009 13:53:59 +0000
(15:53 +0200)
fade.c:220: warning: long unsigned int format, time_t arg (arg 4)
fade.c
patch
|
blob
|
history
diff --git
a/fade.c
b/fade.c
index
7f88447
..
8fb02d4
100644
(file)
--- 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);