summaryrefslogtreecommitdiff
path: root/include/users.h
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2012-12-05 20:51:51 +0100
committerattilamolnar <attilamolnar@hush.com>2012-12-05 21:49:39 +0100
commit73074b0a78ffb91dcb42405ce21dc0a88fcd22b9 (patch)
tree11ed98dacc463aa8c892c9931039e0b61d32019e /include/users.h
parent850563d175e29ddcc90472dfee6fd9b261a5dc40 (diff)
Change a few signed counter variables to unsigned so they roll over later
Diffstat (limited to 'include/users.h')
-rw-r--r--include/users.h8
1 files changed, 4 insertions, 4 deletions
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 \<connect> block doesnt need a password, so that