Index: core/fxge/ge/fx_ge_fontmap.cpp |
diff --git a/core/fxge/ge/fx_ge_fontmap.cpp b/core/fxge/ge/fx_ge_fontmap.cpp |
index dc49e3ea37d9ff832e5a4f829cb0e756afc42df4..9bd89b55e19789ede2cc915abfebccc381c7d137 100644 |
--- a/core/fxge/ge/fx_ge_fontmap.cpp |
+++ b/core/fxge/ge/fx_ge_fontmap.cpp |
@@ -744,7 +744,7 @@ void CFX_FontMapper::AddInstalledFont(const CFX_ByteString& name, int charset) { |
if (!m_pFontInfo) |
return; |
- m_FaceArray.push_back({name, static_cast<uint32_t>(charset)}); |
+ m_FaceArray.push_back({name, charset}); |
if (name == m_LastFamily) |
return; |