change var type in debug statement to unsigned long long (#662)

This commit is contained in:
Tess Gauthier 2023-02-10 13:49:42 -05:00 committed by GitHub
parent 3c307af901
commit e3be0b7b57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
scp.c
View File

@ -785,7 +785,7 @@ main(int argc, char **argv)
if (sftp_copy_buflen > MAX_SFTP_COPY_BUFLEN) { if (sftp_copy_buflen > MAX_SFTP_COPY_BUFLEN) {
if (verbose_mode) if (verbose_mode)
fmprintf(stderr, fmprintf(stderr,
"Buffer value of %d is too large for Win32-OpenSSH. Setting buffer to %d\n", "Buffer value of %llu is too large for Win32-OpenSSH. Setting buffer to %d\n",
sftp_copy_buflen, MAX_SFTP_COPY_BUFLEN); sftp_copy_buflen, MAX_SFTP_COPY_BUFLEN);
sftp_copy_buflen = MAX_SFTP_COPY_BUFLEN; sftp_copy_buflen = MAX_SFTP_COPY_BUFLEN;
} }