diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-02-04 21:10:45 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-02-04 21:10:45 +0100 |
commit | d7164e521b2bf961dab531dff3914a17dec88949 (patch) | |
tree | 7a547cfb32a92b921e6c9a700e402fa4d92b484d /include | |
parent | 178defb45ed40b6d9bfab5466d6ffeeecfa3fa44 (diff) |
Change type of SocketEngine::CurrentSetSize to size_t from int
Diffstat (limited to 'include')
-rw-r--r-- | include/socketengine.h | 4 |
1 files 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 |