More apropriate way to avoid macro extraction

This commit is contained in:
Serge Lamikhov-Center 2020-10-17 23:57:58 +03:00
parent 0826f15d0b
commit f02366804f

View File

@ -53,7 +53,7 @@ template <class S> class dynamic_section_accessor_template
if ( tag == DT_NULL ) if ( tag == DT_NULL )
break; break;
} }
entries_num = (std::min)( entries_num, i + 1 ); entries_num = std::min<Elf_Xword>( entries_num, i + 1 );
} }
return entries_num; return entries_num;