From: Andy Polyakov Date: Thu, 22 Sep 2005 20:28:30 +0000 (+0000) Subject: Broaden compatibility among Windows SDK versions. Elder versions don't have X-Git-Tag: OpenSSL_0_9_8k^2~1796 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=59947880f4db3dcb7913d5cffaa987cbdd7cbb30;p=oweals%2Fopenssl.git Broaden compatibility among Windows SDK versions. Elder versions don't have ULONG_PTR, so we replace it with equally wide SIZE_T. --- diff --git a/crypto/rand/rand_win.c b/crypto/rand/rand_win.c index a28fb6ea55..692a13eac5 100644 --- a/crypto/rand/rand_win.c +++ b/crypto/rand/rand_win.c @@ -168,7 +168,7 @@ typedef DWORD (WINAPI *GETQUEUESTATUS)(UINT); typedef HANDLE (WINAPI *CREATETOOLHELP32SNAPSHOT)(DWORD, DWORD); typedef BOOL (WINAPI *CLOSETOOLHELP32SNAPSHOT)(HANDLE); -typedef BOOL (WINAPI *HEAP32FIRST)(LPHEAPENTRY32, DWORD, ULONG_PTR); +typedef BOOL (WINAPI *HEAP32FIRST)(LPHEAPENTRY32, DWORD, SIZE_T); typedef BOOL (WINAPI *HEAP32NEXT)(LPHEAPENTRY32); typedef BOOL (WINAPI *HEAP32LIST)(HANDLE, LPHEAPLIST32); typedef BOOL (WINAPI *PROCESS32)(HANDLE, LPPROCESSENTRY32);