]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
ws: the infof() flags should be %zu
authorDaniel Stenberg <daniel@haxx.se>
Fri, 16 Sep 2022 15:18:16 +0000 (17:18 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 16 Sep 2022 19:35:15 +0000 (21:35 +0200)
Follow-up to e5e9e0c5e49ae0

Closes #9518

lib/ws.c

index b7ae018351985cd808b8a4ab30971f3a70583570..f045e5aefdde1000b9fc2071222dc79ed4b65d77 100644 (file)
--- a/lib/ws.c
+++ b/lib/ws.c
@@ -294,7 +294,7 @@ static CURLcode ws_decode(struct Curl_easy *data,
   *olen = payloadssize;
   wsp->usedbuf = total; /* number of bytes "used" from the buffer */
   *endp = &p[total];
-  infof(data, "WS: received %uz bytes payload", payloadssize);
+  infof(data, "WS: received %zu bytes payload", payloadssize);
   return CURLE_OK;
 }