← Commit list

8c8eeba522

Viktor Szakats
Viktor Szakats
2026-04-04
SUCCESS Duration: 246s

Subject

libssh: fix `-Wsign-compare` in 32-bit builds

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/vssh/libssh.c+1 -1
@@ -1661,7 +1661,7 @@ static int myssh_in_SFTP_QUOTE_STAT(struct Curl_easy *data,
myssh_quote_error(data, sshc, NULL);
return SSH_NO_ERROR;
}
- if(date > UINT_MAX)
+ if(date > (time_t)UINT_MAX)
/* because the liubssh API cannot deal with a larger value */
date = UINT_MAX;
if(!strncmp(cmd, "atime", 5))