summaryrefslogtreecommitdiffstats
path: root/freebsd/applications/filelight/files/patch-bp000-fix-ftbfs-on-c++11.diff
blob: de573e049c7773e9052ee81949d77331afff2044 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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 )