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:
Ray Molenkamp 2022-06-17 13:59:25 -07:00 committed by Harley Acheson
parent 3d3c0dfe30
commit 600c391a65
Notes: blender-bot 2023-02-14 11:42:40 +01:00
Referenced by issue #98994, Sculpt mode with Multires  does not respect the shade smooth property.
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[(uint)coverage_bit >> 5] & (1 << ((uint)coverage_bit % 32)));
return (font->UnicodeRanges[(uint)coverage_bit >> 5] & (1u << ((uint)coverage_bit % 32)));
}
/**