[USER32] Fix 64 bit issues

This commit is contained in:
Timo Kreuzer 2018-03-04 17:44:13 +01:00
parent 7ad5f405cb
commit e9ad66d52f
6 changed files with 7 additions and 7 deletions

View file

@ -387,7 +387,7 @@ MessageBoxTimeoutIndirectW(
else if (IS_INTRESOURCE(lpMsgBoxParams->lpszCaption))
{
/* User-defined resource string */
caplen = LoadStringW(lpMsgBoxParams->hInstance, (UINT)lpMsgBoxParams->lpszCaption, (LPWSTR)&caption, 0);
caplen = LoadStringW(lpMsgBoxParams->hInstance, PtrToUlong(lpMsgBoxParams->lpszCaption), (LPWSTR)&caption, 0);
}
else
{
@ -405,7 +405,7 @@ MessageBoxTimeoutIndirectW(
else if (IS_INTRESOURCE(lpMsgBoxParams->lpszText))
{
/* User-defined resource string */
textlen = LoadStringW(lpMsgBoxParams->hInstance, (UINT)lpMsgBoxParams->lpszText, (LPWSTR)&text, 0);
textlen = LoadStringW(lpMsgBoxParams->hInstance, PtrToUlong(lpMsgBoxParams->lpszText), (LPWSTR)&text, 0);
}
else
{