Use the z modifier instead of OSSLzu with BIO_printf
authorRichard Levitte <levitte@openssl.org>
Tue, 28 Mar 2017 15:04:43 +0000 (17:04 +0200)
committerRichard Levitte <levitte@openssl.org>
Wed, 29 Mar 2017 14:16:25 +0000 (16:16 +0200)
Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3064)

test/siphash_internal_test.c

index 46b4660..eee4736 100644 (file)
@@ -321,7 +321,7 @@ static int test_siphash(int idx)
             }
 
             if (memcmp(out, expected, expectedlen) != 0) {
-                BIO_printf(b_stderr, "SipHash test #%d/%" OSSLzu "+%" OSSLzu " failed.\n",
+                BIO_printf(b_stderr, "SipHash test #%d/%zu+%zu failed.\n",
                        idx, half, inlen-half);
                 hex_out(b_stderr, "got:      ", 16, out, expectedlen);
                 hex_out(b_stderr, "expected: ", 16, expected, expectedlen);