mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-06-30 18:33:39 +00:00
CStringList: Make use of size_t
Prevents truncation warnings.
This commit is contained in:
parent
c980df5188
commit
f71ef1e615
@ -14,12 +14,12 @@ public:
|
||||
: CResource(pEntry)
|
||||
{}
|
||||
|
||||
uint32 NumStrings() const
|
||||
size_t NumStrings() const
|
||||
{
|
||||
return mStringList.size();
|
||||
}
|
||||
|
||||
TString StringByIndex(uint32 Index) const
|
||||
TString StringByIndex(size_t Index) const
|
||||
{
|
||||
ASSERT(Index >= 0 && Index < mStringList.size());
|
||||
return mStringList[Index];
|
||||
|
Loading…
x
Reference in New Issue
Block a user