aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;
}