sal/osl/w32/process.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit eb4efbc15d25dd6d00c6b7ead02bdf197121623e Author: Norbert Thiebaud <[email protected]> Date: Sun Feb 21 08:18:50 2016 -0800 WaE vs2015: int to pointer casting Change-Id: I201e4b44e2a26ff0566f30c7e7c12c0df90a54e6 Reviewed-on: https://gerrit.libreoffice.org/22591 Reviewed-by: David Ostrovsky <[email protected]> Tested-by: Jenkins <[email protected]> Reviewed-by: Norbert Thiebaud <[email protected]> diff --git a/sal/osl/w32/process.cxx b/sal/osl/w32/process.cxx index 77b9e4c..8c3e116 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; } _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
