summaryrefslogtreecommitdiff
path: root/lib/security.c
diff options
context:
space:
mode:
authorRikard Falkeborn <rikard.falkeborn@gmail.com>2018-05-28 21:46:22 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-05-31 11:34:32 +0200
commit8ea5d41fe0167802c74a049e8409a85fb68083be (patch)
tree5fc7fc8fe2d5ecbce37bc2031e0f1af638155f63 /lib/security.c
parent946ce5b61fc3832935ea92b4388116c7f637fb8c (diff)
downloadcurl-8ea5d41fe0167802c74a049e8409a85fb68083be.tar.gz
strictness: correct {infof, failf} format specifiers
Closes #2623
Diffstat (limited to 'lib/security.c')
-rw-r--r--lib/security.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/security.c b/lib/security.c
index ac39dae09..4039f4e41 100644
--- a/lib/security.c
+++ b/lib/security.c
@@ -488,7 +488,7 @@ static CURLcode choose_mech(struct connectdata *conn)
tmp_allocation = realloc(conn->app_data, mech->size);
if(tmp_allocation == NULL) {
- failf(data, "Failed realloc of size %u", mech->size);
+ failf(data, "Failed realloc of size %zu", mech->size);
mech = NULL;
return CURLE_OUT_OF_MEMORY;
}