Chromium Code Reviews| Index: core/fxge/ge/fx_ge_font.cpp |
| diff --git a/core/fxge/ge/fx_ge_font.cpp b/core/fxge/ge/fx_ge_font.cpp |
| index 67b968b44d4a4752be13071fd360501dc2a5df2b..098195dded870fb02715f54cc073772dcb3f0a2d 100644 |
| --- a/core/fxge/ge/fx_ge_font.cpp |
| +++ b/core/fxge/ge/fx_ge_font.cpp |
| @@ -522,7 +522,7 @@ FX_DWORD CFX_UnicodeEncodingEx::CharCodeFromUnicode(FX_WCHAR Unicode) const { |
| return Unicode; |
| } |
| } |
| - return -1; |
| + return static_cast<FX_DWORD>(-1); |
|
dsinclair
2016/03/16 13:23:32
Ditto: FX_DWORD is a uint64
Wei Li
2016/03/16 17:51:31
Done.
Tom Sepez
2016/03/16 18:34:59
Nah, s'awwright.
Wei Li
2016/03/17 02:24:05
Now I checked more carefully. Looks like -1 used a
|
| } |
| CFX_UnicodeEncodingEx* FX_CreateFontEncodingEx(CFX_Font* pFont, |