summaryrefslogtreecommitdiff
path: root/src/tool_paramhlp.c
diff options
context:
space:
mode:
authorRikard Falkeborn <rikard.falkeborn@gmail.com>2018-09-16 22:04:49 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-01-04 23:50:48 +0100
commitfa2d6ba84d7f87148738f3cbccf29016dd324f87 (patch)
tree7015e5aa21deac71011e72d36322dfbfc38423a2 /src/tool_paramhlp.c
parentc7c362a24c0247644f9fde05e8ea353af4a94b04 (diff)
downloadcurl-fa2d6ba84d7f87148738f3cbccf29016dd324f87.tar.gz
printf: fix format specifiers
Closes #3426
Diffstat (limited to 'src/tool_paramhlp.c')
-rw-r--r--src/tool_paramhlp.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/tool_paramhlp.c b/src/tool_paramhlp.c
index 894d4d414..3a4286c67 100644
--- a/src/tool_paramhlp.c
+++ b/src/tool_paramhlp.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -456,9 +456,8 @@ static CURLcode checkpasswd(const char *kind, /* for what purpose */
kind, *userpwd);
else
curlx_msnprintf(prompt, sizeof(prompt),
- "Enter %s password for user '%s' on URL #%"
- CURL_FORMAT_CURL_OFF_TU ":",
- kind, *userpwd, (curl_off_t) (i + 1));
+ "Enter %s password for user '%s' on URL #%zu:",
+ kind, *userpwd, i + 1);
/* get password */
getpass_r(prompt, passwd, sizeof(passwd));