X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2bee30334333a204427148b7464217929cdbc936..046d682f0f684977b7ba933a128f5c84e06ded0e:/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);