user32: Fix a pointer size warning in Win64.
This commit is contained in:
parent
3ea306f264
commit
87db243f0e
|
@ -288,7 +288,7 @@ LPSTR WINAPI CharUpperA(LPSTR str)
|
||||||
LPWSTR WINAPI CharLowerW(LPWSTR x)
|
LPWSTR WINAPI CharLowerW(LPWSTR x)
|
||||||
{
|
{
|
||||||
if (HIWORD(x)) return strlwrW(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)
|
LPWSTR WINAPI CharUpperW(LPWSTR x)
|
||||||
{
|
{
|
||||||
if (HIWORD(x)) return struprW(x);
|
if (HIWORD(x)) return struprW(x);
|
||||||
else return (LPWSTR)((UINT)toupperW(LOWORD(x)));
|
else return (LPWSTR)((UINT_PTR)toupperW(LOWORD(x)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue