diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-04-30 17:14:40 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-04-30 17:14:40 -0400 |
commit | 3a2470762d352484d8fe163fe9d895647b4f02be (patch) | |
tree | 70f8079ccd792e912eb6e2c950ce9591435a4a3f /src | |
parent | 72124dc1ef68b870ddec615249e25ddb72d6d4cb (diff) | |
download | tor-3a2470762d352484d8fe163fe9d895647b4f02be.tar.gz tor-3a2470762d352484d8fe163fe9d895647b4f02be.zip |
Add a cast to make clang happy.
Diffstat (limited to 'src')
-rw-r--r-- | src/or/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |