mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-07 15:10:32 -04:00
#7 attempt to fix warning
This commit is contained in:
parent
54247b5720
commit
61044d9a60
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ DDLArchive::Extracted DDLArchive::extract_file(std::ifstream &s,
|
||||||
std::vector<char> data;
|
std::vector<char> data;
|
||||||
data.resize(sz);
|
data.resize(sz);
|
||||||
s.read(data.data(), sz);
|
s.read(data.data(), sz);
|
||||||
if (s.gcount() != sz) return {fname, false, {}};
|
if (static_cast<uint32_t>(s.gcount()) != sz) return {fname, false, {}};
|
||||||
return {fname, true, std::move(data)};
|
return {fname, true, std::move(data)};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue