aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/libssh/sftp.h2
-rw-r--r--libssh/sftp.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/libssh/sftp.h b/include/libssh/sftp.h
index 8b283185..33f16b3e 100644
--- a/include/libssh/sftp.h
+++ b/include/libssh/sftp.h
@@ -478,7 +478,7 @@ unsigned long sftp_tell(SFTP_FILE *file);
* of the file associated with the file descriptor. < 0 on
* error.
*/
-u64 sftp_tell64(SFTP_FILE *file);
+uint64_t sftp_tell64(SFTP_FILE *file);
/**
* @brief Rewinds the position of the file pointer to the beginning of the
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;
}