From: aSoujyuTanaka Date: Sat, 11 Apr 2020 18:58:02 +0000 (+0900) Subject: Changed uintptr_t to size_t. WinCE6 doesn't seem it have the definition. X-Git-Tag: openssl-3.0.0-alpha5~39 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6c2a56beec847da18e5ac60a30219f0dea39baf9;p=thirdparty%2Fopenssl.git Changed uintptr_t to size_t. WinCE6 doesn't seem it have the definition. Reviewed-by: Mark J. Cox Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/11526) --- diff --git a/crypto/dso/dso_win32.c b/crypto/dso/dso_win32.c index 49e7100c4e0..1472140e926 100644 --- a/crypto/dso/dso_win32.c +++ b/crypto/dso/dso_win32.c @@ -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