summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-11-18 09:38:55 +0300
committerAndrei Karas <akaras@inbox.ru>2019-11-18 09:38:55 +0300
commite22b2566130eadc148c7aa89ee3cb429b22f1dfb (patch)
tree396779c21274bcb09d0e96cc14c817f525074b26 /src/utils
parent1e62e24155ec46938338c5f94c6df02013140ef4 (diff)
downloadplus-e22b2566130eadc148c7aa89ee3cb429b22f1dfb.tar.gz
plus-e22b2566130eadc148c7aa89ee3cb429b22f1dfb.tar.bz2
plus-e22b2566130eadc148c7aa89ee3cb429b22f1dfb.tar.xz
plus-e22b2566130eadc148c7aa89ee3cb429b22f1dfb.zip
Fix warnings in gcc trunk
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/timer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/timer.cpp b/src/utils/timer.cpp
index fd79369bf..b047c2882 100644
--- a/src/utils/timer.cpp
+++ b/src/utils/timer.cpp
@@ -66,7 +66,7 @@ static uint32_t nextSecond(uint32_t interval, void *param A_UNUSED);
*/
static uint32_t nextTick(uint32_t interval, void *param A_UNUSED)
{
- tick_time++;
+ tick_time = tick_time + 1;
if (tick_time == MAX_TICK_VALUE)
tick_time = 0;
return interval;