From eb4efbc15d25dd6d00c6b7ead02bdf197121623e Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Sun, 21 Feb 2016 08:18:50 -0800 Subject: WaE vs2015: int to pointer casting Change-Id: I201e4b44e2a26ff0566f30c7e7c12c0df90a54e6 Reviewed-on: https://gerrit.libreoffice.org/22591 Reviewed-by: David Ostrovsky Tested-by: Jenkins Reviewed-by: Norbert Thiebaud --- sal/osl/w32/process.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sal') diff --git a/sal/osl/w32/process.cxx b/sal/osl/w32/process.cxx index 77b9e4c97c7c..8c3e1169116d 100644 --- a/sal/osl/w32/process.cxx +++ b/sal/osl/w32/process.cxx @@ -144,7 +144,7 @@ oslProcessError SAL_CALL osl_getProcessInfo(oslProcess Process, oslProcessData F lpAddress = (LPBYTE)lpAddress + Info.RegionSize; } - while (lpAddress < (void *)0x80000000); // 2GB address space + while ((uintptr_t)lpAddress <= (uintptr_t)0x7FFFFFFF); // 2GB address space pInfo->Fields |= osl_Process_HEAPUSAGE; } -- cgit