summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ctables.h4
-rw-r--r--include/users.h8
2 files changed, 6 insertions, 6 deletions
diff --git a/include/ctables.h b/include/ctables.h
index f016dd4c5..02bea198d 100644
--- a/include/ctables.h
+++ b/include/ctables.h
@@ -118,11 +118,11 @@ class CoreExport Command : public ServiceProvider
/** used by /stats m
*/
- long use_count;
+ unsigned long use_count;
/** used by /stats m
*/
- long total_bytes;
+ unsigned long total_bytes;
/** True if the command is disabled to non-opers
*/
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