Fix FTBFS with stricter C++11

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/1/head
Slávek Banko 6 years ago
parent 596ae4c1a4
commit 62160e6a20
Signed by: SlavekB
GPG Key ID: 608F5293A04BE668

@ -351,7 +351,7 @@ RadialMap::Map::paint( unsigned int scaleFactor )
//draw arrow head to indicate undisplayed files/directories
TQPointArray pts( 3 );
TQPoint pos, cpos = rect.center();
int a[3] = { (*it)->start(), (*it)->length(), 0 };
unsigned int a[3] = { (*it)->start(), (*it)->length(), 0 };
a[2] = a[0] + (a[1] / 2); //assign to halfway between
if( a[1] > a_max )

Loading…
Cancel
Save