mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 543855: [OS/2] Invalid conversion from const char to const unsigned char in gfx/src/thebes/nsSystemFontsOS2 r=wuno
This commit is contained in:
parent
4886e8ac2e
commit
124c35352b
@ -86,7 +86,7 @@ void QueryFontFromINI(char* fontType, char* fontName, ULONG ulLength)
|
||||
|
||||
/* We had to switch to using PrfQueryProfileData because */
|
||||
/* some users have binary font data in their INI files */
|
||||
BOOL rc = PrfQueryProfileData(HINI_USER, "PM_SystemFonts", fontType,
|
||||
BOOL rc = PrfQueryProfileData(HINI_USER, (PCSZ)"PM_SystemFonts", (PCSZ)fontType,
|
||||
fontName, &ulMaxNameL);
|
||||
/* If there was no entry in the INI, default to something */
|
||||
if (rc == FALSE) {
|
||||
|
Loading…
Reference in New Issue
Block a user