summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2022-05-11 16:56:02 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2022-05-11 20:32:58 +0900
commite368c3fa64ffd1e1d4a1afc0eeca110fc6649bbf (patch)
tree124953eba732491ef92c1bb90179948d5932a68a
parente731799f5889391e5c3b10a57e9d652a0c227bbb (diff)
downloadkrusader-e368c3fa.tar.gz
krusader-e368c3fa.zip
Fix build with clang. This resolves issue #7.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 57f84ffb5ef47cce6fcd625abb7472c9422d8483)
-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;