[Heimdal-source-changes] [heimdal/heimdal] 7b8fa4: Windows: Fix type cast warning.

Rod Widdowson noreply at github.com
Sat Feb 1 02:32:19 CET 2020


  Branch: refs/heads/master
  Home:   https://github.com/heimdal/heimdal
  Commit: 7b8fa4758c1a249f8a904c3e902d90222f9e5f89
      https://github.com/heimdal/heimdal/commit/7b8fa4758c1a249f8a904c3e902d90222f9e5f89
  Author: Rod Widdowson <rdw at steadingsoftware.com>
  Date:   2020-02-01 (Sat, 01 Feb 2020)

  Changed paths:
    M lib/hcrypto/rand-w32.c

  Log Message:
  -----------
  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.




More information about the Heimdal-source-changes mailing list