[gnutls-devel] GnuTLS | tests: resume: suppress compiler warnings (dcf533fd)
Development of GNU's TLS library
gnutls-devel at lists.gnutls.org
Sun Nov 25 13:40:09 CET 2018
Daiki Ueno commented on a 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);
I'm not sure if it is worthwhile; in this context, `t` is always in the range [0,3). Maybe we can simply declare `t` as int.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/commit/dcf533fd1ffa17327888101c1f9a573a8937bcc1#note_119837466
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/3e1b02f6/attachment.html>
More information about the Gnutls-devel
mailing list