diff --git a/src/file.cpp b/src/file.cpp index 7aee4bdf7..667b35b19 100644 --- a/src/file.cpp +++ b/src/file.cpp @@ -2117,7 +2117,7 @@ typedef struct _FILE_ALLOCATED_RANGE_BUFFER { offs = inf.AllocationSize; } - if (offs.QuadPart != s) + if (offs.QuadPart < s) { // if the user has permissions, avoid filling // the file with zeroes, but just fill it with