Fix return value of sftp_tell64().

This commit is contained in:
Andreas Schneider
2009-07-25 19:52:07 +02:00
parent c8e82528fc
commit 5d1fa1be24
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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;
}