summaryrefslogtreecommitdiff
path: root/src/net/packetcounters.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/packetcounters.cpp')
-rw-r--r--src/net/packetcounters.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/packetcounters.cpp b/src/net/packetcounters.cpp
index 5b3faeb06..65ece62f8 100644
--- a/src/net/packetcounters.cpp
+++ b/src/net/packetcounters.cpp
@@ -38,7 +38,7 @@ int PacketCounters::mOutBytesCalc = 0;
int PacketCounters::mOutPackets = 0;
int PacketCounters::mOutPacketsCalc = 0;
-void PacketCounters::incInBytes(int cnt)
+void PacketCounters::incInBytes(const int cnt)
{
if (!runCounters)
return;
@@ -70,7 +70,7 @@ int PacketCounters::getInPackets()
return PacketCounters::mInPacketsCalc;
}
-void PacketCounters::incOutBytes(int cnt)
+void PacketCounters::incOutBytes(const int cnt)
{
if (!runCounters)
return;