mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-07-01 10:53:30 +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)
|
: CResource(pEntry)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
uint32 NumStrings() const
|
size_t NumStrings() const
|
||||||
{
|
{
|
||||||
return mStringList.size();
|
return mStringList.size();
|
||||||
}
|
}
|
||||||
|
|
||||||
TString StringByIndex(uint32 Index) const
|
TString StringByIndex(size_t Index) const
|
||||||
{
|
{
|
||||||
ASSERT(Index >= 0 && Index < mStringList.size());
|
ASSERT(Index >= 0 && Index < mStringList.size());
|
||||||
return mStringList[Index];
|
return mStringList[Index];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user