Dmitry Timoshkov : kernel32: Fix a compiler warning.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Aug 30 06:20:22 CDT 2007


Module: wine
Branch: master
Commit: afc85e91abbf4ec1a6828a0dbd541160869e656e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=afc85e91abbf4ec1a6828a0dbd541160869e656e

Author: Dmitry Timoshkov <dmitry at codeweavers.com>
Date:   Thu Aug 30 17:18:25 2007 +0900

kernel32: Fix a compiler warning.

---

 dlls/kernel32/actctx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/kernel32/actctx.c b/dlls/kernel32/actctx.c
index 4591d8b..c708373 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)
     {




More information about the wine-cvs mailing list