aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os
diff options
context:
space:
mode:
authorStefan Hoffmann <stefan991@gmail.com>2014-08-27 22:36:38 +0200
committerStefan Hoffmann <stefan991@gmail.com>2014-08-31 15:47:44 +0200
commit7ac191ab1085875319e139b044ec1f98498b87ce (patch)
tree85e4651f4d56f6dc5b61df65eff9da9dd83ecce2 /src/nvim/os
parent10813ce38c6588664e1decc8ba35424923cfb2e4 (diff)
downloadrneovim-7ac191ab1085875319e139b044ec1f98498b87ce.tar.gz
rneovim-7ac191ab1085875319e139b044ec1f98498b87ce.tar.bz2
rneovim-7ac191ab1085875319e139b044ec1f98498b87ce.zip
fileinfo: change returntype of os_fileinfo_size
off_t -> uint64_t
Diffstat (limited to 'src/nvim/os')
-rw-r--r--src/nvim/os/fs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/os/fs.c b/src/nvim/os/fs.c
index df6491d57d..bb4e897887 100644
--- a/src/nvim/os/fs.c
+++ b/src/nvim/os/fs.c
@@ -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;