Windows: Fix type cast warning.
authorRod Widdowson <rdw@steadingsoftware.com>
Wed, 29 Jan 2020 10:31:15 +0000 (10:31 +0000)
committerLuke Howard <lukeh@padl.com>
Sat, 1 Feb 2020 01:32:09 +0000 (12:32 +1100)
commit7b8fa4758c1a249f8a904c3e902d90222f9e5f89
tree3005d1a03fb95013db48a66215c8348ba1c933c1
parentcc7610b77cd7e2ff3e8d880e268264a2c93b2818
Windows: Fix type cast warning.

Since at least SDK V6.1 HCRYPTPROV has been specified as ULONG_PTR
this means that comparing or setting one with NULL causes a cast
warning.

Use an explicit cast from zero to that type.
lib/hcrypto/rand-w32.c