diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2016-02-21 08:18:50 -0800 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2016-02-21 22:43:53 +0000 |
commit | eb4efbc15d25dd6d00c6b7ead02bdf197121623e (patch) | |
tree | fd0b494789f4941d2c4163c200e69953aef6da0d /sal | |
parent | 133610669b8707a278d9b3b0af025779044fd8c5 (diff) |
WaE vs2015: int to pointer casting
Change-Id: I201e4b44e2a26ff0566f30c7e7c12c0df90a54e6
Reviewed-on: https://gerrit.libreoffice.org/22591
Reviewed-by: David Ostrovsky <david@ostrovsky.org>
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/w32/process.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |