Cleanup: Compiler Warning of Sign Conversion

rB524a9e3db810 introduced sign-conversion warning on Linux.

Own Code
This commit is contained in:
Harley Acheson 2022-06-17 12:45:32 -07:00
parent 5b5811c97b
commit 3d3c0dfe30
1 changed files with 1 additions and 1 deletions

View File

@ -549,7 +549,7 @@ static bool blf_font_has_coverage_bit(FontBLF *font, int coverage_bit)
if (coverage_bit < 0) {
return false;
}
return (font->UnicodeRanges[coverage_bit >> 5] & (1 << (coverage_bit % 32)));
return (font->UnicodeRanges[(uint)coverage_bit >> 5] & (1 << ((uint)coverage_bit % 32)));
}
/**