Cleanup: Compiler Warning of Sign Conversion #2
Second attempt to silence sign-conversion warning on Linux, introduced in rB524a9e3db810. Confirmed fix on buildbot.
This commit is contained in:
committed by
Harley Acheson
parent
3d3c0dfe30
commit
600c391a65
@@ -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[(uint)coverage_bit >> 5] & (1 << ((uint)coverage_bit % 32)));
|
||||
return (font->UnicodeRanges[(uint)coverage_bit >> 5] & (1u << ((uint)coverage_bit % 32)));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user