diff --git a/lib/ws.c b/lib/ws.c index 2ba0121138..304805d166 100644 --- a/lib/ws.c +++ b/lib/ws.c @@ -293,7 +293,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 %u bytes payload", payloadssize); + infof(data, "WS: received %uz bytes payload", payloadssize); return CURLE_OK; }