diff --git a/src/public/tier1/utllinkedlist.h b/src/public/tier1/utllinkedlist.h index 2f4a4c0d..caa50ac7 100644 --- a/src/public/tier1/utllinkedlist.h +++ b/src/public/tier1/utllinkedlist.h @@ -133,7 +133,7 @@ public: inline static size_t ElementSize() { return sizeof(ListElem_t); } // list statistics - int Count() const; + I Count() const; I MaxElementIndex() const; I NumAllocated(void) const { return m_NumAlloced; } @@ -292,7 +292,7 @@ inline T const& CUtlLinkedList::operator[](I i) const //----------------------------------------------------------------------------- template -inline int CUtlLinkedList::Count() const +inline I CUtlLinkedList::Count() const { #ifdef MULTILIST_PEDANTIC_ASSERTS AssertMsg(!ML, "CUtlLinkedList::Count() is meaningless for linked lists.");