diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2018-08-20 02:08:19 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2018-08-20 02:08:19 +0200 |
commit | 62160e6a2066212a8ccb33cc277c519f0bda7a45 (patch) | |
tree | 3d38d6f0007ab2cf6e69cc96ff77040d6888f514 | |
parent | 596ae4c1a4b9a3181638bd22a05ab7d5ee464a45 (diff) | |
download | filelight-62160e6a2066212a8ccb33cc277c519f0bda7a45.tar.gz filelight-62160e6a2066212a8ccb33cc277c519f0bda7a45.zip |
Fix FTBFS with stricter C++11
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r-- | src/part/radialMap/map.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 ) |