[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Add a cast to make clang happy.



commit 3a2470762d352484d8fe163fe9d895647b4f02be
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Mon Apr 30 17:14:40 2018 -0400

    Add a cast to make clang happy.
---
 src/or/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/or/main.c b/src/or/main.c
index 010e7200c..f1b830830 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);
   }
 }
 

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits