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:39 +0200 |
commit | 02676a870b4b5b33cfc59528fc7c1d4b9399a587 (patch) | |
tree | dac0d46cb7ff02af5fc63c526e8a2869b765349c /src/part/radialMap | |
parent | b38e1f1d683673f61eaf48d65cb542ae6d884abc (diff) | |
download | filelight-02676a870b4b5b33cfc59528fc7c1d4b9399a587.tar.gz filelight-02676a870b4b5b33cfc59528fc7c1d4b9399a587.zip |
Fix FTBFS with stricter C++11
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 62160e6a2066212a8ccb33cc277c519f0bda7a45)
Diffstat (limited to 'src/part/radialMap')
-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 ) |