Skip to content

Commit

Permalink
fix(Vfs): fix Windows read in issues*
Browse files Browse the repository at this point in the history
  • Loading branch information
lmichaelis committed Jun 29, 2024
1 parent 616182a commit 7dc594e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Vfs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ namespace zenkit {
auto& mem = _m_data_mapped.emplace_back(host);
this->mount_disk(mem.data(), mem.size(), overwrite);
#else
std::ifstream stream {host, std::ios::in | std::ios::ate | std::ios::bin};
std::ifstream stream {host, std::ios::in | std::ios::ate | std::ios::binary};
auto size = stream.tellg();
stream.seekg(0);

Expand Down

0 comments on commit 7dc594e

Please sign in to comment.