[gnutls-devel] GnuTLS | tests: resume: suppress compiler warnings (dcf533fd)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Sun Nov 25 12:34:17 CET 2018


Tim Rühsen started a new discussion on tests/resume.c:

>  		if (t > 0 && params->expect_resume) {
>  			ret = gnutls_session_is_resumed(session);
>  			if (ret == 0) {
> -				fail("server: session_is_resumed error (%d)\n", t);
> +				fail("server: session_is_resumed error (%d)\n", (int) t);

Why not using %zu instead of casting ? Is there a portability issue with e.g. Windows ? (if yes, there is %zd in lib/nettle/pk.c).

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/commit/dcf533fd1ffa17327888101c1f9a573a8937bcc1#note_119833688
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/20181125/fe41e205/attachment.html>


More information about the Gnutls-devel mailing list