1
0
mirror of synced 2025-01-19 01:24:15 +01:00

fix: Build failing on macOS

This commit is contained in:
WerWolv 2022-09-19 15:26:25 +02:00
parent 6dbff81f95
commit b11dbe4fe1

View File

@ -379,7 +379,7 @@ namespace hex {
displayEnd += DisplayEndStep;
break;
} else {
auto endIndex = std::min(iteratable.getEntryCount(), i + ChunkSize);
auto endIndex = std::min<u64>(iteratable.getEntryCount(), i + ChunkSize);
auto startOffset = iteratable.getEntry(i)->getOffset();
auto endOffset = iteratable.getEntry(endIndex - 1)->getOffset();