diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2016-02-21 08:18:50 -0800 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-02-22 17:21:30 +0100 |
commit | b8673b597b9c7a083f7f71dacf7dee9a567316aa (patch) | |
tree | 4494023f48e8d404a5562ad1c4736fa04c1f1bcf /sal | |
parent | fec29598507e03fb2008b5afd5507cb47b070435 (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>
(cherry picked from commit eb4efbc15d25dd6d00c6b7ead02bdf197121623e)
Signed-off-by: Michael Stahl <mstahl@redhat.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 0a85135a5d40..77e680e44ac7 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; } |