diff options
| author | Dan Engelbrecht <[email protected]> | 2022-03-16 12:29:30 +0100 |
|---|---|---|
| committer | Dan Engelbrecht <[email protected]> | 2022-03-31 11:28:32 +0200 |
| commit | 3f9aa99659b623f51907237a3c2ae1c083a0d609 (patch) | |
| tree | 764ebbcf7ff12d2c4e6e7e3db78f2194d5a17a30 /zenstore/basicfile.cpp | |
| parent | clang format (diff) | |
| download | zen-3f9aa99659b623f51907237a3c2ae1c083a0d609.tar.xz zen-3f9aa99659b623f51907237a3c2ae1c083a0d609.zip | |
fix posix SetFileSize
Diffstat (limited to 'zenstore/basicfile.cpp')
| -rw-r--r-- | zenstore/basicfile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zenstore/basicfile.cpp b/zenstore/basicfile.cpp index 1f6ead2d3..29ca0e388 100644 --- a/zenstore/basicfile.cpp +++ b/zenstore/basicfile.cpp @@ -289,7 +289,7 @@ BasicFile::SetFileSize(uint64_t FileSize) ::SetEndOfFile(m_FileHandle); #else int Fd = int(intptr_t(m_FileHandle)); - int ftruncate64(Fd, FileSize); + ftruncate64(Fd, FileSize); #endif } |