summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
0abe93e)
daemon.c:184: warning: long int format, int arg (arg 2)
*/
__malloc char *uptime_str(void)
{
*/
__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);
}
return make_message("%li:%02li:%02li", t / 86400,
(t / 3600) % 24, (t / 60) % 60);
}