diff --git a/src/memory/mman-win32/mman.cpp b/src/memory/mman-win32/mman.cpp index 1e06a5f07..1117c6db7 100644 --- a/src/memory/mman-win32/mman.cpp +++ b/src/memory/mman-win32/mman.cpp @@ -223,7 +223,7 @@ int fsync(int fd) noexcept return 0; } -int fallocate(int fd, int mode, oft__ offset, oft__ size) noexcept +int fallocate(int fd, int, oft__ offset, oft__ size) noexcept { return ftruncate(fd, offset + size); }