Fix FTBFS with stricter C++11

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 62160e6a20)
r14.0.x
Slávek Banko 6 years ago
parent b38e1f1d68
commit 02676a870b
No known key found for this signature in database
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