fileinfo: change returntype of os_fileinfo_size

off_t -> uint64_t
This commit is contained in:
Stefan Hoffmann
2014-08-27 22:36:38 +02:00
parent 10813ce38c
commit 7ac191ab10
5 changed files with 6 additions and 6 deletions

View File

@@ -949,7 +949,7 @@ void ex_diffpatch(exarg_T *eap)
// Only continue if the output file was created.
FileInfo file_info;
bool info_ok = os_fileinfo((char *)tmp_new, &file_info);
off_t filesize = os_fileinfo_size(&file_info);
uint64_t filesize = os_fileinfo_size(&file_info);
if (!info_ok || filesize == 0) {
EMSG(_("E816: Cannot read patch output"));
} else {