Commit afc85e91 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

kernel32: Fix a compiler warning.

parent 1c994d49
...@@ -89,7 +89,7 @@ HANDLE WINAPI CreateActCtxA(PCACTCTXA pActCtx) ...@@ -89,7 +89,7 @@ HANDLE WINAPI CreateActCtxA(PCACTCTXA pActCtx)
MultiByteToWideChar(CP_ACP, 0, pActCtx->lpResourceName, -1, resname, len); MultiByteToWideChar(CP_ACP, 0, pActCtx->lpResourceName, -1, resname, len);
actw.lpResourceName = resname; actw.lpResourceName = resname;
} }
else actw.lpResourceName = (LPWSTR)pActCtx->lpResourceName; else actw.lpResourceName = (LPCWSTR)pActCtx->lpResourceName;
} }
if (actw.dwFlags & ACTCTX_FLAG_APPLICATION_NAME_VALID) if (actw.dwFlags & ACTCTX_FLAG_APPLICATION_NAME_VALID)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment