1
0
mirror of synced 2025-01-25 15:53:43 +01:00

fix: Signed/Unsigned integer compare

This commit is contained in:
WerWolv 2024-12-31 17:21:37 +01:00
parent d7b2b94cec
commit 3dec4cc698

View File

@ -504,7 +504,7 @@ namespace hex::ui {
}
const auto bytesPerCell = m_currDataVisualizer->getBytesPerCell();
const auto columnCount = m_bytesPerRow / bytesPerCell;
const u64 columnCount = m_bytesPerRow / bytesPerCell;
auto byteColumnCount = 2 + columnCount + getByteColumnSeparatorCount(columnCount) + 2 + 2;
if (byteColumnCount >= IMGUI_TABLE_MAX_COLUMNS) {