summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/server.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2021-06-10 07:45:44 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2021-06-10 07:45:44 +0000
commite910308f79db05ca4a614e1ca78dcb496518a306 (patch)
tree0eee5044e8dbf46c2a338b10ad05ba69a0fb3ff2 /usr.bin/tmux/server.c
parent64601c98a6167dc9a2de301d33a28fbf3c518f4f (diff)
Fix warnings, from Jan Tache in GitHub issue 2692.
Diffstat (limited to 'usr.bin/tmux/server.c')
-rw-r--r--usr.bin/tmux/server.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/tmux/server.c b/usr.bin/tmux/server.c
index 6fccb8e4a62..8440a25ba08 100644
--- a/usr.bin/tmux/server.c
+++ b/usr.bin/tmux/server.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server.c,v 1.197 2021/03/11 07:08:18 nicm Exp $ */
+/* $OpenBSD: server.c,v 1.198 2021/06/10 07:45:43 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -161,7 +161,8 @@ server_tidy_event(__unused int fd, __unused short events, __unused void *data)
format_tidy_jobs();
- 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);
}