diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ctables.h | 4 | ||||
-rw-r--r-- | include/inspircd.h | 4 | ||||
-rw-r--r-- | include/socketengine.h | 8 |
3 files changed, 8 insertions, 8 deletions
diff --git a/include/ctables.h b/include/ctables.h index 9c2a6181c..75795e48c 100644 --- a/include/ctables.h +++ b/include/ctables.h @@ -108,11 +108,11 @@ class CoreExport Command : public ServiceProvider /** used by /stats m */ - long double use_count; + long use_count; /** used by /stats m */ - long double total_bytes; + long total_bytes; /** True if the command is disabled to non-opers */ diff --git a/include/inspircd.h b/include/inspircd.h index b4fd12026..16281f2cc 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -214,10 +214,10 @@ class serverstats unsigned long statsConnects; /** Total bytes of data transmitted */ - double statsSent; + unsigned long statsSent; /** Total bytes of data received */ - double statsRecv; + unsigned long statsRecv; /** Cpu usage at last sample */ timeval LastCPU; diff --git a/include/socketengine.h b/include/socketengine.h index 4c897a7c0..e23c74de4 100644 --- a/include/socketengine.h +++ b/include/socketengine.h @@ -243,10 +243,10 @@ class CoreExport SocketEngine void SetEventMask(EventHandler* eh, int value); public: - double TotalEvents; - double ReadEvents; - double WriteEvents; - double ErrorEvents; + unsigned long TotalEvents; + unsigned long ReadEvents; + unsigned long WriteEvents; + unsigned long ErrorEvents; /** Constructor. * The constructor transparently initializes |