Skip to content

Commit

Permalink
fixup! fix: remove MIN macro
Browse files Browse the repository at this point in the history
Signed-off-by: Roberto Scolaro <[email protected]>
  • Loading branch information
therealbobo committed Dec 1, 2023
1 parent bc63c72 commit 5949f23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userspace/sinspui/cursestable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ void curses_table::render(bool data_changed)
//
vector<chisel_table_field>* row;

for(l = 0; l < std::min(m_data->size(), m_h - 1); l++)
for(l = 0; l < std::min((int32_t)m_data->size(), m_h - 1); l++)
{
if(l + m_firstrow >= (int32_t)m_data->size())
{
Expand Down

0 comments on commit 5949f23

Please sign in to comment.