diff --git a/src/hb-ot-cff-common.hh b/src/hb-ot-cff-common.hh index a83435d49..e824dae33 100644 --- a/src/hb-ot-cff-common.hh +++ b/src/hb-ot-cff-common.hh @@ -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;