mirror of
https://github.com/neovim/neovim.git
synced 2025-10-06 09:56:31 +00:00
fileinfo: change returntype of os_fileinfo_size
off_t -> uint64_t
This commit is contained in:
@@ -397,7 +397,7 @@ uint64_t os_fileinfo_inode(const FileInfo *file_info)
|
||||
/// Get the size of a file from a `FileInfo`.
|
||||
///
|
||||
/// @return filesize in bytes.
|
||||
off_t os_fileinfo_size(const FileInfo *file_info)
|
||||
uint64_t os_fileinfo_size(const FileInfo *file_info)
|
||||
FUNC_ATTR_NONNULL_ALL
|
||||
{
|
||||
return file_info->stat.st_size;
|
||||
|
Reference in New Issue
Block a user