X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=helpers.c;h=ab9d706da87935870ce3784b4d4fedafc2f2db48;hp=a0ee37044e8abdc418ac9f19fcca06509858485a;hb=35300d5fbbef6cf108882c8f1e403846a6371a2a;hpb=ec2ea18e87fad6c42d6875cd4ee1bb25ef9b4627 diff --git a/helpers.c b/helpers.c index a0ee3704..ab9d706d 100644 --- a/helpers.c +++ b/helpers.c @@ -18,7 +18,8 @@ int posix_fallocate(int fd, off_t offset, off_t len) #endif #ifndef CONFIG_SYNC_FILE_RANGE -int sync_file_range(int fd, off64_t offset, off64_t nbytes, unsigned int flags) +int sync_file_range(int fd, uint64_t offset, uint64_t nbytes, + unsigned int flags) { errno = ENOSYS; return -1;