summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2022-05-11 16:56:02 +0900
committerMichele Calgaro <[email protected]>2022-05-11 16:56:02 +0900
commit57f84ffb5ef47cce6fcd625abb7472c9422d8483 (patch)
treef66126f3286fecbcd12e29edf897b450b6e1b676
parentd819a129bbafce74f2fcb7895002e76ba3352a13 (diff)
downloadkrusader-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.cpp2
-rw-r--r--krusader/UserAction/useraction.cpp2
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;