Fix return value of sftp_tell64().
Этот коммит содержится в:
родитель
c8e82528fc
Коммит
5d1fa1be24
@ -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;
|
||||
}
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user