[gnutls-devel] GnuTLS | windows: Avoid -Wint-conversion errors (!1632)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Mon Aug 15 22:54:11 CEST 2022



Martin Storsjö created a merge request: https://gitlab.com/gnutls/gnutls/-/merge_requests/1632

Project:Branches: mstorsjo/gnutls:int-conversion to gnutls/gnutls:master
Author:   Martin Storsjö




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;
                   ^       ~~~~
```

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1632
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20220815/255f95d7/attachment.html>


More information about the Gnutls-devel mailing list