]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Changed uintptr_t to size_t. WinCE6 doesn't seem it have the definition.
authoraSoujyuTanaka <soujyu.tanaka@access-company.com>
Sat, 11 Apr 2020 18:58:02 +0000 (03:58 +0900)
committerRichard Levitte <levitte@openssl.org>
Wed, 15 Jul 2020 21:03:21 +0000 (23:03 +0200)
Reviewed-by: Mark J. Cox <mark@awe.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11526)

crypto/dso/dso_win32.c

index 49e7100c4e0b48d85559985c7fdbd08e23282b0e..1472140e926aa8831a86eaed23bd443301a468ca 100644 (file)
@@ -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