Add a cast to make clang happy.

This commit is contained in:
Nick Mathewson 2018-04-30 17:14:40 -04:00
parent 72124dc1ef
commit 3a2470762d
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}