← Commit list

ba16b83221

Viktor Szakats
Viktor Szakats
2026-06-14
SUCCESS Duration: 238s

Subject

telnet: drop an `int` cast no longer necessary

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/telnet.c+1 -1
@@ -1034,7 +1034,7 @@ static CURLcode suboption(struct Curl_easy *data, struct TELNET *tn)
if(bad_option(v->data))
return CURLE_BAD_FUNCTION_ARGUMENT;
/* Add the variable if it fits */
- if(len + tmplen < (int)sizeof(temp) - 6) {
+ if(len + tmplen < sizeof(temp) - 6) {
const char *s = strchr(v->data, ',');
if(!s)
len += curl_msnprintf((char *)&temp[len], sizeof(temp) - len,