Cleanup: Compiler Warning of Sign Conversion
rB524a9e3db810 introduced sign-conversion warning on Linux. Own Code
This commit is contained in:
parent
5b5811c97b
commit
3d3c0dfe30
|
@ -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)));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue