diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-09-09 19:41:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-09-09 19:41:31 +0300 |
commit | 97943710d847ddb2b52099330f1961bda127e37b (patch) | |
tree | ab2522aab524c3393a6dd4f1d51811d3eac9984e /src/net | |
parent | 22d0a32e03656262a7a5cccb3769aed59bfe0a5b (diff) | |
download | plus-97943710d847ddb2b52099330f1961bda127e37b.tar.gz plus-97943710d847ddb2b52099330f1961bda127e37b.tar.bz2 plus-97943710d847ddb2b52099330f1961bda127e37b.tar.xz plus-97943710d847ddb2b52099330f1961bda127e37b.zip |
Fix code style.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/packetcounters.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/packetcounters.cpp b/src/net/packetcounters.cpp index f29bb890c..7d28ab3be 100644 --- a/src/net/packetcounters.cpp +++ b/src/net/packetcounters.cpp @@ -108,7 +108,7 @@ void PacketCounters::updateCounter(int &restrict currentSec, int &restrict calc, int &restrict counter) { - const time_t idx = cur_time % 60; + const int idx = CAST_S32(cur_time % 60); if (currentSec != idx) { currentSec = idx; |