diff --git a/src/runner.c b/src/runner.c
index d557d8e875a197b9e7f4f542760b54e49ed0608b..1cd52e1dd89f08172c3a3b679f15a096a0007b1b 100644
--- a/src/runner.c
+++ b/src/runner.c
@@ -802,7 +802,7 @@ void runner_dokick(struct runner *r, struct cell *c, int timer) {
 
   const float global_dt_min = r->e->dt_min;
   const float global_dt_max = r->e->dt_max;
-  const float ti_current = r->e->ti_current;
+  const int ti_current = r->e->ti_current;
   const double timeBase = r->e->timeBase;
   const double timeBase_inv = 1.0 / r->e->timeBase;
   const int count = c->count;