Fix more warning

This commit is contained in:
Behdad Esfahbod 2018-11-30 23:38:24 -05:00
parent af349ee348
commit e8860fdcaa
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ struct CFFIndex
inline unsigned int max_offset (void) const
{
unsigned int max = 0;
for (unsigned int i = 0; i < count + 1; i++)
for (unsigned int i = 0; i < count + 1u; i++)
{
unsigned int off = offset_at (i);
if (off > max) max = off;