Cast to correct type.

This commit is contained in:
Bartosz Taudul 2020-05-13 18:38:40 +02:00
parent 3f3378e13a
commit 7d57a2ea6d

View File

@ -2338,7 +2338,7 @@ void SourceView::RenderAsmLine( AsmLine& line, uint32_t ipcnt, uint32_t iptotal,
char buf[256]; char buf[256];
if( m_asmCountBase >= 0 ) if( m_asmCountBase >= 0 )
{ {
sprintf( buf, "[%i]", asmIdx - m_asmCountBase ); sprintf( buf, "[%i]", int( asmIdx - m_asmCountBase ) );
} }
else if( m_asmRelative ) else if( m_asmRelative )
{ {