diff options
author | Björn Esser <besser82@fedoraproject.org> | 2019-06-24 15:43:00 +0200 |
---|---|---|
committer | Björn Esser <besser82@fedoraproject.org> | 2019-06-24 15:43:00 +0200 |
commit | 313649452bacc8c076e1be466edb282a7482e5e0 (patch) | |
tree | a401eeb2863c558b8511ee2ee340829b53502a3e /test | |
parent | be783efcb6b7b58db4bf61a8f3137f7f6f9ef19f (diff) | |
download | libxcrypt-313649452bacc8c076e1be466edb282a7482e5e0.tar.gz libxcrypt-313649452bacc8c076e1be466edb282a7482e5e0.tar.bz2 libxcrypt-313649452bacc8c076e1be466edb282a7482e5e0.zip |
crypt-kat: Fix Wformat.
Diffstat (limited to 'test')
-rw-r--r-- | test/crypt-kat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/crypt-kat.c b/test/crypt-kat.c index 66a1fa2..985d27c 100644 --- a/test/crypt-kat.c +++ b/test/crypt-kat.c @@ -214,7 +214,7 @@ calc_hashes_crypt_r_rn (ARG_UNUSED (void *unused)) for (i = 0; i < ntests; i++) { strncpy(u.pass + 1, tests[i].input, CRYPT_MAX_PASSPHRASE_SIZE); - printf("[%d]: %s %s\n", strlen(tests[i].input), tests[i].input, tests[i].salt); + printf("[%zu]: %s %s\n", strlen(tests[i].input), tests[i].input, tests[i].salt); errno = 0; hash = crypt_r (u.pass + 1, tests[i].salt, &data); status |= report_result ("crypt_r", hash, errno, &tests[i], |