From afc85e91abbf4ec1a6828a0dbd541160869e656e Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Thu, 30 Aug 2007 17:18:25 +0900 Subject: [PATCH] kernel32: Fix a compiler warning. --- dlls/kernel32/actctx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/kernel32/actctx.c b/dlls/kernel32/actctx.c index 4591d8bc22c..c708373a7e5 100644 --- a/dlls/kernel32/actctx.c +++ b/dlls/kernel32/actctx.c @@ -89,7 +89,7 @@ HANDLE WINAPI CreateActCtxA(PCACTCTXA pActCtx) MultiByteToWideChar(CP_ACP, 0, pActCtx->lpResourceName, -1, resname, len); actw.lpResourceName = resname; } - else actw.lpResourceName = (LPWSTR)pActCtx->lpResourceName; + else actw.lpResourceName = (LPCWSTR)pActCtx->lpResourceName; } if (actw.dwFlags & ACTCTX_FLAG_APPLICATION_NAME_VALID) {