From 5d1fa1be240018a53364654f4b5005a1e4d27093 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sat, 25 Jul 2009 19:52:07 +0200 Subject: Fix return value of sftp_tell64(). --- libssh/sftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libssh/sftp.c') 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; } -- cgit v1.2.3