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 f6ea609 commit bc63c72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userspace/sinspui/cursescomponents.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ void curses_table_sidemenu::render()
//
// Render the rows
//
for(j = m_firstrow; j < std::min(m_firstrow + (int32_t)m_h - 1, m_entries.size()); j++)
for(j = m_firstrow; j < std::min(m_firstrow + (int32_t)m_h - 1, (int32_t)m_entries.size()); j++)
{
if(j == m_selct)
{
Expand Down

0 comments on commit bc63c72

Please sign in to comment.