diff options
author | Michele Calgaro <[email protected]> | 2022-05-11 16:56:02 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2022-05-11 16:56:02 +0900 |
commit | 57f84ffb5ef47cce6fcd625abb7472c9422d8483 (patch) | |
tree | f66126f3286fecbcd12e29edf897b450b6e1b676 | |
parent | d819a129bbafce74f2fcb7895002e76ba3352a13 (diff) | |
download | krusader-57f84ffb5ef47cce6fcd625abb7472c9422d8483.tar.gz krusader-57f84ffb5ef47cce6fcd625abb7472c9422d8483.zip |
Fix build with clang. This resolves issue #7.
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r-- | krusader/DiskUsage/radialMap/map.cpp | 2 | ||||
-rw-r--r-- | krusader/UserAction/useraction.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/krusader/DiskUsage/radialMap/map.cpp b/krusader/DiskUsage/radialMap/map.cpp index fefa701..329b8bc 100644 --- a/krusader/DiskUsage/radialMap/map.cpp +++ b/krusader/DiskUsage/radialMap/map.cpp @@ -326,7 +326,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 }; + uint a[3] = { (*it)->start(), (*it)->length(), 0 }; a[2] = a[0] + (a[1] / 2); //assign to halfway between if( a[1] > a_max ) diff --git a/krusader/UserAction/useraction.cpp b/krusader/UserAction/useraction.cpp index 18d6b48..4e412bd 100644 --- a/krusader/UserAction/useraction.cpp +++ b/krusader/UserAction/useraction.cpp @@ -110,7 +110,7 @@ void UserAction::readFromFile( const TQString& filename, ReadMode mode, KrAction // check if the file got the right root-element (ACTION_ROOT) - this finds out if the xml-file read to the DOM is realy an krusader useraction-file if( root.tagName() != ACTION_ROOT ) { KMessageBox::error( MAIN_VIEW, - i18n( "The actionfile's root-element isn't called "ACTION_ROOT", using %1").arg( filename ), + i18n( "The actionfile's root-element isn't called " ACTION_ROOT ", using %1").arg( filename ), i18n( "UserActions - can't read from file!" ) ); delete doc; doc = 0; |