← Commit list

74c4bdc244

Viktor Szakats
Viktor Szakats
2026-01-02
SUCCESS Duration: 293s

Subject

ws: replace a cast by matching the format string

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/ws.c+2 -2
@@ -832,8 +832,8 @@ static CURLcode ws_enc_add_frame(struct Curl_easy *data,
if(enc->payload_remain > 0) {
/* trying to write a new frame before the previous one is finished */
- failf(data, "[WS] starting new frame with %zd bytes from last one "
- "remaining to be sent", (ssize_t)enc->payload_remain);
+ failf(data, "[WS] starting new frame with %" FMT_OFF_T " bytes "
+ "from last one remaining to be sent", enc->payload_remain);
return CURLE_SEND_ERROR;
}