diff --git a/deps/ox/src/ox/fs/filesystem/passthroughfs.cpp b/deps/ox/src/ox/fs/filesystem/passthroughfs.cpp index e45d0cd1..fa31b7b0 100644 --- a/deps/ox/src/ox/fs/filesystem/passthroughfs.cpp +++ b/deps/ox/src/ox/fs/filesystem/passthroughfs.cpp @@ -102,7 +102,7 @@ ValErr PassThroughFS::stat(const char *path) { uint64_t size = type == FileType_Directory ? 0 : std::filesystem::file_size(p, ec); oxTrace("PassThroughFS::stat") << ec.message().c_str() << path; oxTrace("PassThroughFS::stat::size") << path << size; - return {{.size = size, .fileType = type}, OxError(ec.value())}; + return {{0, 0, size, type}, OxError(ec.value())}; } uint64_t PassThroughFS::spaceNeeded(uint64_t size) {