From f5d5cee19ae1153adae20ee8143d18d61b407b2c Mon Sep 17 00:00:00 2001 From: danieldg Date: Fri, 12 Feb 2010 17:06:45 +0000 Subject: Floating-point math should have no place in an ircd git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12442 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/socketengine.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/socketengine.h') 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 -- cgit v1.2.3