From 73074b0a78ffb91dcb42405ce21dc0a88fcd22b9 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Wed, 5 Dec 2012 20:51:51 +0100 Subject: Change a few signed counter variables to unsigned so they roll over later --- include/users.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/users.h') diff --git a/include/users.h b/include/users.h index 1328bf0cb..0fc63c9b8 100644 --- a/include/users.h +++ b/include/users.h @@ -753,19 +753,19 @@ class CoreExport LocalUser : public User, public InviteBase /** Stats counter for bytes inbound */ - int bytes_in; + unsigned int bytes_in; /** Stats counter for bytes outbound */ - int bytes_out; + unsigned int bytes_out; /** Stats counter for commands inbound */ - int cmds_in; + unsigned int cmds_in; /** Stats counter for commands outbound */ - int cmds_out; + unsigned int cmds_out; /** Password specified by the user when they registered (if any). * This is stored even if the \ block doesnt need a password, so that -- cgit v1.2.3