summaryrefslogtreecommitdiffstats
path: root/server.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2021-05-03 06:39:17 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2021-05-03 06:39:17 +0100
commit40467726e3a985f0d7c064c6dcf7121f3266ab70 (patch)
tree920705501106dd08f667d65bdda0699795f9451e /server.c
parent2e7ec8c0b91dc51e6e22b2f55cc4511610044673 (diff)
Fix warnings, from Jan Tache in GitHub issue 2692.
Diffstat (limited to 'server.c')
-rw-r--r--server.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/server.c b/server.c
index 0b878d9e..29bcf88a 100644
--- a/server.c
+++ b/server.c
@@ -163,7 +163,8 @@ server_tidy_event(__unused int fd, __unused short events, __unused void *data)
malloc_trim(0);
#endif
- log_debug("%s: took %llu milliseconds", __func__, get_timer() - t);
+ log_debug("%s: took %llu milliseconds", __func__,
+ (unsigned long long)(get_timer() - t));
evtimer_add(&server_ev_tidy, &tv);
}