1
1

Fix return value of sftp_tell64().

Этот коммит содержится в:
Andreas Schneider 2009-07-25 19:52:07 +02:00
родитель c8e82528fc
Коммит 5d1fa1be24
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

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

Просмотреть файл

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