From a2804267ff3721d375db4de79db67d021056e130 Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <matthieu.schaller@durham.ac.uk>
Date: Tue, 23 Feb 2016 15:37:16 +0000
Subject: [PATCH] ti_current is an int and not a float in runner_dokick()

---
 src/runner.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/runner.c b/src/runner.c
index d557d8e875..1cd52e1dd8 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;
-- 
GitLab