[Bf-blender-cvs] [ed6764dedee] master: Fix: build issue with MSVC
Ray Molenkamp
noreply at git.blender.org
Sun Oct 2 18:17:12 CEST 2022
Commit: ed6764dedeeada8d705594e962e2e7e254bb5c4a
Author: Ray Molenkamp
Date: Sun Oct 2 10:17:05 2022 -0600
Branches: master
https://developer.blender.org/rBed6764dedeeada8d705594e962e2e7e254bb5c4a
Fix: build issue with MSVC
Issue introduced by rB208b3a0472b3
which fixed a build issue on linux.
This fix is a band-aid at best but
reverting rB208b3a0472b3 is not
really an option since that would
break linux again.
===================================================================
M source/blender/blenfont/intern/blf_thumbs.c
===================================================================
diff --git a/source/blender/blenfont/intern/blf_thumbs.c b/source/blender/blenfont/intern/blf_thumbs.c
index 2773c8f17fd..ac2f2f35ca3 100644
--- a/source/blender/blenfont/intern/blf_thumbs.c
+++ b/source/blender/blenfont/intern/blf_thumbs.c
@@ -86,7 +86,7 @@ static const UnicodeSample unicode_samples[] = {
{U"\ua188\ua320\ua4bf", 3, TT_UCR_YI},
{U"\u1900\u1901\u1902", 3, TT_UCR_LIMBU},
{U"\u1950\u1951\u1952", 3, TT_UCR_TAI_LE},
- {U"\u1980\u1982\u1986", 3, TT_UCR_NEW_TAI_LUE},
+ {U"\u1980\u1982\u1986", 3, (FT_ULong)TT_UCR_NEW_TAI_LUE},
{U"\u1A00\u1A01\u1A02", 4, TT_UCR_BUGINESE},
{U"\u2c01\u2c05\u2c0c", 4, TT_UCR_GLAGOLITIC},
{U"\u2d31\u2d33\u2d37", 4, TT_UCR_TIFINAGH},
More information about the Bf-blender-cvs
mailing list