Browse Source

Add a cast to make clang happy.

Nick Mathewson 6 years ago
parent
commit
3a2470762d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/or/main.c

+ 1 - 1
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);
   }
 }