diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-11-18 09:38:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-11-18 09:38:55 +0300 |
commit | e22b2566130eadc148c7aa89ee3cb429b22f1dfb (patch) | |
tree | 396779c21274bcb09d0e96cc14c817f525074b26 /src/utils/timer.cpp | |
parent | 1e62e24155ec46938338c5f94c6df02013140ef4 (diff) | |
download | plus-e22b2566130eadc148c7aa89ee3cb429b22f1dfb.tar.gz plus-e22b2566130eadc148c7aa89ee3cb429b22f1dfb.tar.bz2 plus-e22b2566130eadc148c7aa89ee3cb429b22f1dfb.tar.xz plus-e22b2566130eadc148c7aa89ee3cb429b22f1dfb.zip |
Fix warnings in gcc trunk
Diffstat (limited to 'src/utils/timer.cpp')
-rw-r--r-- | src/utils/timer.cpp | 2 |
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; |