1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-07-29 13:01:14 +03:00

Fix more scope and printf warning errors

This commit is contained in:
Michael Buckley
2019-03-19 10:17:20 -07:00
parent 01c67b2e4d
commit 9ae4b9e949
3 changed files with 5 additions and 4 deletions

View File

@ -201,7 +201,7 @@ int main(int argc, char *argv[])
}
if(attrs.flags & LIBSSH2_SFTP_ATTR_UIDGID) {
printf("%4ld %4ld ", attrs.uid, attrs.gid);
printf("%4d %4d ", (int) attrs.uid, (int) attrs.gid);
} else {
printf(" - - ");
}