From: Nick Mathewson Date: Mon, 30 Apr 2018 21:14:40 +0000 (-0400) Subject: Add a cast to make clang happy. X-Git-Tag: tor-0.3.4.1-alpha~98 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3a2470762d352484d8fe163fe9d895647b4f02be;p=thirdparty%2Ftor.git Add a cast to make clang happy. --- diff --git a/src/or/main.c b/src/or/main.c index 010e7200c1..f1b8308304 100644 --- 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); } }