X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2bee30334333a204427148b7464217929cdbc936..6d3b231a02b761671d042c2f8989048ba49125e8:/src/msw/fontutil.cpp diff --git a/src/msw/fontutil.cpp b/src/msw/fontutil.cpp index dbf009105a..266971d30a 100644 --- a/src/msw/fontutil.cpp +++ b/src/msw/fontutil.cpp @@ -164,7 +164,7 @@ bool wxTestFontEncoding(const wxNativeEncodingInfo& info) LOGFONT lf; wxZeroMemory(lf); // all default values - lf.lfCharSet = info.charset; + lf.lfCharSet = (BYTE)info.charset; wxStrncpy(lf.lfFaceName, info.facename, WXSIZEOF(lf.lfFaceName)); HFONT hfont = ::CreateFontIndirect(&lf);