Mike McCormack : user32: Fix a pointer size warning in Win64.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jun 12 07:09:53 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 87db243f0e430c40f2f4ac0eddaf711fa211f19b
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=87db243f0e430c40f2f4ac0eddaf711fa211f19b

Author: Mike McCormack <mike at codeweavers.com>
Date:   Sun Jun 11 11:06:10 2006 +0900

user32: Fix a pointer size warning in Win64.

---

 dlls/user/lstr.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/user/lstr.c b/dlls/user/lstr.c
index f75aa36..95d1922 100644
--- a/dlls/user/lstr.c
+++ b/dlls/user/lstr.c
@@ -288,7 +288,7 @@ LPSTR WINAPI CharUpperA(LPSTR str)
 LPWSTR WINAPI CharLowerW(LPWSTR x)
 {
     if (HIWORD(x)) return strlwrW(x);
-    else return (LPWSTR)((UINT)tolowerW(LOWORD(x)));
+    else return (LPWSTR)((UINT_PTR)tolowerW(LOWORD(x)));
 }
 
 
@@ -298,7 +298,7 @@ LPWSTR WINAPI CharLowerW(LPWSTR x)
 LPWSTR WINAPI CharUpperW(LPWSTR x)
 {
     if (HIWORD(x)) return struprW(x);
-    else return (LPWSTR)((UINT)toupperW(LOWORD(x)));
+    else return (LPWSTR)((UINT_PTR)toupperW(LOWORD(x)));
 }
 
 




More information about the wine-cvs mailing list