From b11dbe4fe102a864d6e66494302058180fb76813 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Mon, 19 Sep 2022 15:26:25 +0200 Subject: [PATCH] fix: Build failing on macOS --- plugins/builtin/source/content/helpers/pattern_drawer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/builtin/source/content/helpers/pattern_drawer.cpp b/plugins/builtin/source/content/helpers/pattern_drawer.cpp index 8ae296b64..87d3c01a2 100644 --- a/plugins/builtin/source/content/helpers/pattern_drawer.cpp +++ b/plugins/builtin/source/content/helpers/pattern_drawer.cpp @@ -379,7 +379,7 @@ namespace hex { displayEnd += DisplayEndStep; break; } else { - auto endIndex = std::min(iteratable.getEntryCount(), i + ChunkSize); + auto endIndex = std::min(iteratable.getEntryCount(), i + ChunkSize); auto startOffset = iteratable.getEntry(i)->getOffset(); auto endOffset = iteratable.getEntry(endIndex - 1)->getOffset();