summaryrefslogtreecommitdiff
path: root/crypto/dso
diff options
context:
space:
mode:
authoraSoujyuTanaka <soujyu.tanaka@access-company.com>2020-04-12 03:58:02 +0900
committerRichard Levitte <levitte@openssl.org>2020-07-15 23:03:21 +0200
commit6c2a56beec847da18e5ac60a30219f0dea39baf9 (patch)
treedba1bfd8cb717112ba76b9074067d6e577c3b4fb /crypto/dso
parentce3080e931d77fda3bb4f2d923fcc6cec967d1a3 (diff)
downloadopenssl-new-6c2a56beec847da18e5ac60a30219f0dea39baf9.tar.gz
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)
Diffstat (limited to 'crypto/dso')
-rw-r--r--crypto/dso/dso_win32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/dso/dso_win32.c b/crypto/dso/dso_win32.c
index 49e7100c4e..1472140e92 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