strictness: correct {infof, failf} format specifiers

Closes #2623
This commit is contained in:
Rikard Falkeborn 2018-05-28 21:46:22 +02:00 committed by Daniel Stenberg
parent 946ce5b61f
commit 8ea5d41fe0
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
11 changed files with 31 additions and 35 deletions

View file

@ -764,7 +764,7 @@ static void printsub(struct Curl_easy *data,
switch(pointer[0]) {
case CURL_TELOPT_NAWS:
if(length > 4)
infof(data, "Width: %hu ; Height: %hu", (pointer[1]<<8) | pointer[2],
infof(data, "Width: %d ; Height: %d", (pointer[1]<<8) | pointer[2],
(pointer[3]<<8) | pointer[4]);
break;
default: