mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-04 12:20:42 +09:00
sftp: Fix integer types in sftp_extension_supported()
Fixes T188 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
@@ -773,7 +773,7 @@ const char *sftp_extensions_get_data(sftp_session sftp, unsigned int idx) {
|
||||
|
||||
int sftp_extension_supported(sftp_session sftp, const char *name,
|
||||
const char *data) {
|
||||
int i, n;
|
||||
size_t i, n;
|
||||
|
||||
if (sftp == NULL || name == NULL || data == NULL) {
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user