mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
@@ -271,7 +271,7 @@ namespace hex::plugin::builtin {
|
||||
} else {
|
||||
if (m_fileSize == 0) {
|
||||
while (true) {
|
||||
constexpr static ssize_t ChunkSize = 1_MiB;
|
||||
constexpr static i64 ChunkSize = 1_MiB;
|
||||
auto startSize = m_data.size();
|
||||
m_data.resize(startSize + ChunkSize);
|
||||
auto result = m_file.readBuffer(m_data.data() + startSize, ChunkSize);
|
||||
|
||||
Reference in New Issue
Block a user