dbghelp: Don't return error when validating a 64bit wide address on a 64bit platform.

This commit is contained in:
Eric Pouech 2009-12-12 12:18:50 +01:00 committed by Alexandre Julliard
parent 02a70615f9
commit 9ff52fb82c
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ struct process* process_find_by_handle(HANDLE hProcess)
*/
BOOL validate_addr64(DWORD64 addr)
{
if (addr >> 32)
if (sizeof(void*) == sizeof(int) && (addr >> 32))
{
FIXME("Unsupported address %s\n", wine_dbgstr_longlong(addr));
SetLastError(ERROR_INVALID_PARAMETER);