]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
correct the sign type of integers in debug message
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Thu, 28 Jul 2016 08:31:25 +0000 (10:31 +0200)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Thu, 28 Jul 2016 08:44:53 +0000 (10:44 +0200)
Suggested by Tim Kosse

lib/x509/tls_features.c

index b28e8ac8bb016f772778b6a38117663a05822811..af5bb06a51dadd06d5a2c400fe6631a70488ae13 100644 (file)
@@ -236,7 +236,7 @@ unsigned gnutls_x509_tlsfeatures_check_crt(gnutls_x509_tlsfeatures_t feat,
 
        /* if cert's features cannot be a superset */
        if (feat->size > cfeat->size) {
-               _gnutls_debug_log("certificate has %d, while issuer has %d tlsfeatures\n", cfeat->size, feat->size);
+               _gnutls_debug_log("certificate has %u, while issuer has %u tlsfeatures\n", cfeat->size, feat->size);
                gnutls_assert();
                uret = 0;
                goto cleanup;