aboutsummaryrefslogtreecommitdiff
path: root/src/common/compat_time.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-12-20 17:45:59 -0500
committerNick Mathewson <nickm@torproject.org>2017-12-20 17:45:59 -0500
commitbac0bcbba191b30836fe305223265b4028d584cf (patch)
tree9b25649de304bbb0212ae07d14fbcf42ef0c858e /src/common/compat_time.c
parent0e790bb40df4c6bd86e1a97a7872f04d0d2a53e7 (diff)
downloadtor-bac0bcbba191b30836fe305223265b4028d584cf.tar.gz
tor-bac0bcbba191b30836fe305223265b4028d584cf.zip
type error fix for monotime_coarse_add_msec on windows
Diffstat (limited to 'src/common/compat_time.c')
-rw-r--r--src/common/compat_time.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/compat_time.c b/src/common/compat_time.c
index 396a7b7540..8cecff2783 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;
}