From: Daniel Stenberg Date: Wed, 8 Feb 2023 07:39:08 +0000 (+0100) Subject: ws: use %Ou for outputting curl_off_t with info() X-Git-Tag: curl-7_88_0~43 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=da8e97b5d0d5315de02bf5310a53404f439f177e;p=thirdparty%2Fcurl.git ws: use %Ou for outputting curl_off_t with info() Reported-by: Mike Duglas Fixes #10439 Closes #10441 --- diff --git a/lib/ws.c b/lib/ws.c index 44333309f1..fc1237acad 100644 --- a/lib/ws.c +++ b/lib/ws.c @@ -296,7 +296,7 @@ static CURLcode ws_decode(struct Curl_easy *data, *oleft = 0; /* bytes yet to come (for this frame) */ } - infof(data, "WS: received %zu bytes payload (%zu left, buflen was %zu)", + infof(data, "WS: received %Ou bytes payload (%Ou left, buflen was %zu)", payloadsize, *oleft, inlen); return CURLE_OK; }