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:
Rich Walsh 2010-03-06 12:53:35 -05:00
parent 4886e8ac2e
commit 124c35352b

View File

@ -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) {