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

[tor-commits] [tor/master] type error fix for monotime_coarse_add_msec on windows



commit bac0bcbba191b30836fe305223265b4028d584cf
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Wed Dec 20 17:45:59 2017 -0500

    type error fix for monotime_coarse_add_msec on windows
---
 src/common/compat_time.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/common/compat_time.c b/src/common/compat_time.c
index 396a7b754..8cecff278 100644
--- a/src/common/compat_time.c
+++ b/src/common/compat_time.c
@@ -635,7 +635,8 @@ monotime_add_msec(monotime_t *out, const monotime_t *val, uint32_t msec)
 }
 
 void
-monotime_coarse_add_msec(monotime_t *out, const monotime_t *val, uint32_t msec)
+monotime_coarse_add_msec(monotime_coarse_t *out, const monotime_coarse_t *val,
+                         uint32_t msec)
 {
   out->tick_count_ = val->tick_count_ + msec;
 }

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