From ca130a19b36a78c6a23aa56c6ea82eaa187b0a06 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 29 Aug 2016 01:24:49 +0300 Subject: Use time_t for time values. --- src/utils/timer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils/timer.cpp') diff --git a/src/utils/timer.cpp b/src/utils/timer.cpp index fdb4a0c5a..dff2816a8 100644 --- a/src/utils/timer.cpp +++ b/src/utils/timer.cpp @@ -50,7 +50,7 @@ volatile int fps = 0; /**< Frames counted in the last second */ volatile int lps = 0; /**< Logic processed per second */ volatile int frame_count = 0; /**< Counts the frames during one second */ volatile int logic_count = 0; /**< Counts the logic during one second */ -volatile int cur_time; +volatile time_t cur_time = 0; static uint32_t nextTick(uint32_t interval, void *param A_UNUSED); static uint32_t nextSecond(uint32_t interval, void *param A_UNUSED); -- cgit v1.2.3-70-g09d2