Broaden compatibility among Windows SDK versions. Elder versions don't have
authorAndy Polyakov <appro@openssl.org>
Thu, 22 Sep 2005 20:28:30 +0000 (20:28 +0000)
committerAndy Polyakov <appro@openssl.org>
Thu, 22 Sep 2005 20:28:30 +0000 (20:28 +0000)
ULONG_PTR, so we replace it with equally wide SIZE_T.

crypto/rand/rand_win.c

index a28fb6ea554a976ee5750177dddadb268b257b67..692a13eac594d363bc2601fa1a0a95ab4aba12b7 100644 (file)
@@ -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);