mirror of https://github.com/openssl/openssl.git
Changed uintptr_t to size_t. WinCE6 doesn't seem it have the definition.
Reviewed-by: Mark J. Cox <mark@awe.com> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/11526)
This commit is contained in:
parent
ce3080e931
commit
6c2a56beec
|
@ -567,8 +567,8 @@ static int win32_pathbyaddr(void *addr, char *path, int sz)
|
|||
|
||||
/* Enumerate the modules to find one which includes me. */
|
||||
do {
|
||||
if ((uintptr_t) addr >= (uintptr_t) me32.modBaseAddr &&
|
||||
(uintptr_t) addr < (uintptr_t) (me32.modBaseAddr + me32.modBaseSize)) {
|
||||
if ((size_t) addr >= (size_t) me32.modBaseAddr &&
|
||||
(size_t) addr < (size_t) (me32.modBaseAddr + me32.modBaseSize)) {
|
||||
(*close_snap) (hModuleSnap);
|
||||
FreeLibrary(dll);
|
||||
# ifdef _WIN32_WCE
|
||||
|
|
Loading…
Reference in New Issue