]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
ws: use %Ou for outputting curl_off_t with info()
authorDaniel Stenberg <daniel@haxx.se>
Wed, 8 Feb 2023 07:39:08 +0000 (08:39 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 9 Feb 2023 07:15:24 +0000 (08:15 +0100)
Reported-by: Mike Duglas
Fixes #10439
Closes #10441

lib/ws.c

index 44333309f1b54b03e669d6a1e6ca73b65d994724..fc1237acadfd819c82442b6d889a53c509378c8e 100644 (file)
--- 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;
 }