From d7164e521b2bf961dab531dff3914a17dec88949 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Tue, 4 Feb 2014 21:10:45 +0100 Subject: Change type of SocketEngine::CurrentSetSize to size_t from int --- include/socketengine.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/socketengine.h b/include/socketengine.h index d97c0ea9f..4a2285a98 100644 --- a/include/socketengine.h +++ b/include/socketengine.h @@ -233,7 +233,7 @@ class CoreExport SocketEngine protected: /** Current number of descriptors in the engine */ - int CurrentSetSize; + size_t CurrentSetSize; /** Reference table, contains all current handlers */ EventHandler** ref; @@ -304,7 +304,7 @@ public: /** Returns the number of file descriptors being queried * @return The set size */ - inline int GetUsedFds() const { return CurrentSetSize; } + inline size_t GetUsedFds() const { return CurrentSetSize; } /** Delete an event handler from the engine. * This function call deletes an EventHandler -- cgit v1.2.3