aboutsummaryrefslogtreecommitdiff
path: root/libssh/sftp.c
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-07-25 19:52:07 +0200
committerAndreas Schneider <mail@cynapses.org>2009-07-25 19:52:07 +0200
commit5d1fa1be240018a53364654f4b5005a1e4d27093 (patch)
tree307ce55725496a53701ffeba5c824410385f55f1 /libssh/sftp.c
parentc8e82528fcaf20000eb6b99793eee120655405a5 (diff)
downloadlibssh-5d1fa1be240018a53364654f4b5005a1e4d27093.tar.gz
libssh-5d1fa1be240018a53364654f4b5005a1e4d27093.tar.xz
libssh-5d1fa1be240018a53364654f4b5005a1e4d27093.zip
Fix return value of sftp_tell64().
Diffstat (limited to 'libssh/sftp.c')
-rw-r--r--libssh/sftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/sftp.c b/libssh/sftp.c
index e888dc21..319e96f2 100644
--- a/libssh/sftp.c
+++ b/libssh/sftp.c
@@ -1780,7 +1780,7 @@ unsigned long sftp_tell(SFTP_FILE *file) {
return (unsigned long)file->offset;
}
/* Report current byte position in file. */
-u64 sftp_tell64(SFTP_FILE *file) {
+uint64_t sftp_tell64(SFTP_FILE *file) {
return (u64)file->offset;
}