usp10: Avoid LPBYTE.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Henri Verbeet 2017-03-22 23:11:39 +01:00 committed by Alexandre Julliard
parent 34c2f74518
commit af617aacca
1 changed files with 1 additions and 1 deletions

View File

@ -1875,7 +1875,7 @@ static void find_fallback_font(enum usp10_script scriptid, WCHAR *FaceName)
DWORD type;
sprintfW(value, szFmt, scriptInformation[scriptid].scriptTag);
if (RegQueryValueExW(hkey, value, 0, &type, (LPBYTE)FaceName, &count))
if (RegQueryValueExW(hkey, value, 0, &type, (BYTE *)FaceName, &count))
lstrcpyW(FaceName,scriptInformation[scriptid].fallbackFont);
RegCloseKey(hkey);
}