From 02676a870b4b5b33cfc59528fc7c1d4b9399a587 Mon Sep 17 00:00:00 2001 From: Slávek Banko Date: Mon, 20 Aug 2018 02:08:19 +0200 Subject: Fix FTBFS with stricter C++11 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 62160e6a2066212a8ccb33cc277c519f0bda7a45) --- src/part/radialMap/map.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/part/radialMap/map.cpp') diff --git a/src/part/radialMap/map.cpp b/src/part/radialMap/map.cpp index 72d105d..e564969 100644 --- a/src/part/radialMap/map.cpp +++ b/src/part/radialMap/map.cpp @@ -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 ) -- cgit v1.2.3