mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-03 01:58:44 -04:00
Fix warning in stub_log.cpp
This commit is contained in:
@@ -62,7 +62,7 @@ namespace dusk {
|
||||
|
||||
if (ImGui::BeginChild("scrolling")) {
|
||||
ImGuiListClipper clipper;
|
||||
clipper.Begin(LineOffsets.size());
|
||||
clipper.Begin(static_cast<int>(LineOffsets.size()));
|
||||
while (clipper.Step()) {
|
||||
for (int idx = clipper.DisplayStart; idx < clipper.DisplayEnd; idx++) {
|
||||
const char* lineStart = StubLogBuffer.begin() + LineOffsets[idx];
|
||||
|
||||
Reference in New Issue
Block a user