Skip to content

windows: Avoid -Wint-conversion errors

Martin Storsjö requested to merge mstorsjo/gnutls:int-conversion into master

Clang 15 made "incompatible pointer to integer conversion" an error instead of a plain warning. This fixes errors like these:

system/keys-win.c:257:13: error: incompatible pointer to integer conversion initializing 'HCRYPTHASH' (aka 'unsigned long') with an expression of type 'void *' [-Wint-conversion]
        HCRYPTHASH hHash = NULL;
                   ^       ~~~~

Merge request reports