From af617aaccacd4beebc6ec6da7a871969a6bf8160 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Wed, 22 Mar 2017 23:11:39 +0100 Subject: [PATCH] usp10: Avoid LPBYTE. Signed-off-by: Henri Verbeet Signed-off-by: Aric Stewart Signed-off-by: Alexandre Julliard --- dlls/usp10/usp10.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/usp10/usp10.c b/dlls/usp10/usp10.c index a1be308dbfa..0e7001f7b41 100644 --- a/dlls/usp10/usp10.c +++ b/dlls/usp10/usp10.c @@ -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); }