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:
authorHarley Acheson <harley.acheson@gmail.com>2022-06-17 22:45:32 +0300
committerHarley Acheson <harley.acheson@gmail.com>2022-06-17 22:46:37 +0300
commit3d3c0dfe30ff186817b9a54985bfa0b5e437fff2 (patch)
tree6da87b61e13ff057c10841d98876303d823adbb4
parent5b5811c97b59fd187a7aafd874535c749054d5db (diff)
Cleanup: Compiler Warning of Sign Conversion
rB524a9e3db810 introduced sign-conversion warning on Linux. Own Code
-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 32d4be3be0c..6c8909685dc 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[coverage_bit >> 5] & (1 << (coverage_bit % 32)));
+ return (font->UnicodeRanges[(uint)coverage_bit >> 5] & (1 << ((uint)coverage_bit % 32)));
}
/**