commit 3a2470762d352484d8fe163fe9d895647b4f02be parent 72124dc1ef68b870ddec615249e25ddb72d6d4cb Author: Nick Mathewson <nickm@torproject.org> Date: Mon, 30 Apr 2018 17:14:40 -0400 Add a cast to make clang happy. Diffstat:
| M | src/or/main.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/or/main.c b/src/or/main.c @@ -2011,7 +2011,7 @@ save_state_callback(time_t now, const or_options_t *options) */ return PERIODIC_EVENT_NO_UPDATE; } else { - return next_write - now; + return (int)(next_write - now); } }