projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0abe93e
)
Fix gcc warning on FreeBSD.
author
Andre Noll
<maan@systemlinux.org>
Mon, 3 Dec 2007 17:12:52 +0000
(18:12 +0100)
committer
Andre Noll
<maan@systemlinux.org>
Mon, 3 Dec 2007 17:12:52 +0000
(18:12 +0100)
daemon.c:184: warning: long int format, int arg (arg 2)
daemon.c
patch
|
blob
|
history
diff --git
a/daemon.c
b/daemon.c
index 666b0a5c645cbc0f34b3347a3e021355a6444193..931124e65fe6a9224851c24c5b33f6e8d5dd6435 100644
(file)
--- a/
daemon.c
+++ b/
daemon.c
@@
-179,7
+179,7
@@
time_t server_uptime(enum uptime set_or_get)
*/
__malloc char *uptime_str(void)
{
-
time_t
t = server_uptime(UPTIME_GET);
+
long
t = server_uptime(UPTIME_GET);
return make_message("%li:%02li:%02li", t / 86400,
(t / 3600) % 24, (t / 60) % 60);
}