mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 13:05:25 -05:00
fix: Build failing on macOS
This commit is contained in:
@@ -993,7 +993,7 @@ namespace hex::plugin::builtin {
|
||||
|
||||
u64 offset = selection->getStartAddress();
|
||||
while (offset < selection->getEndAddress()) {
|
||||
provider->read(offset, buffer.data(), std::min(buffer.size(), selection->size - (offset - selection->getStartAddress())));
|
||||
provider->read(offset, buffer.data(), std::min<size_t>(buffer.size(), selection->size - (offset - selection->getStartAddress())));
|
||||
auto [result, size] = customEncoding->getEncodingFor(buffer);
|
||||
|
||||
string += result;
|
||||
|
||||
Reference in New Issue
Block a user