From 97943710d847ddb2b52099330f1961bda127e37b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 9 Sep 2016 19:41:31 +0300 Subject: Fix code style. --- src/net/packetcounters.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/packetcounters.cpp') 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; -- cgit v1.2.3-70-g09d2