[Libreoffice-commits] core.git: sal/osl
Norbert Thiebaud
nthiebaud at gmail.com
Sun Feb 21 22:44:20 UTC 2016
sal/osl/w32/process.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit eb4efbc15d25dd6d00c6b7ead02bdf197121623e
Author: Norbert Thiebaud <nthiebaud at gmail.com>
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 <david at ostrovsky.org>
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Norbert Thiebaud <nthiebaud at gmail.com>
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;
}
More information about the Libreoffice-commits
mailing list