diff --git a/amxmodx/CList.h b/amxmodx/CList.h index 9147a944..74416313 100755 --- a/amxmodx/CList.h +++ b/amxmodx/CList.h @@ -51,7 +51,7 @@ public: }; private: CListEle *head; - size_t cur_size; + int cur_size; public: CList() { head = 0; cur_size = 0; } ~CList() { clear(); } @@ -64,7 +64,7 @@ public: head = new CListEle( a , head ); ++cur_size; } - size_t size() { + int size() { return cur_size; } class iterator {