Fix signed vs unsigned warnings

This commit is contained in:
Jon Evans 2020-02-20 18:54:02 -05:00
parent 2778dc90f3
commit cd86dd516c
1 changed files with 2 additions and 2 deletions

View File

@ -135,7 +135,7 @@ public:
if( size() != rhs.size() )
return false;
for( int i = 0; i < size(); ++i )
for( size_t i = 0; i < size(); ++i )
{
if( at( i ) != rhs.at( i ) )
return false;
@ -149,7 +149,7 @@ public:
if( size() != rhs.size() )
return size() < rhs.size();
for( int i = 0; i < size(); ++i )
for( size_t i = 0; i < size(); ++i )
{
if( at( i ) < rhs.at( i ) )
return true;