Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Molenkamp <LazyDodo>2022-06-17 23:59:25 +0300
committerHarley Acheson <harley.acheson@gmail.com>2022-06-17 23:59:25 +0300
commit600c391a6559ae3113ecbf505490ace8ef1da828 (patch)
treec806850c233582fac4525b0b12b64a758476a7b1
parent3d3c0dfe30ff186817b9a54985bfa0b5e437fff2 (diff)
Cleanup: Compiler Warning of Sign Conversion #2
Second attempt to silence sign-conversion warning on Linux, introduced in rB524a9e3db810. Confirmed fix on buildbot.
-rw-r--r--source/blender/blenfont/intern/blf_glyph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenfont/intern/blf_glyph.c b/source/blender/blenfont/intern/blf_glyph.c
index 6c8909685dc..ed30cca4da2 100644
--- a/source/blender/blenfont/intern/blf_glyph.c
+++ b/source/blender/blenfont/intern/blf_glyph.c
@@ -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)));
}
/**