From ee1fdee36930b17c99f1bc067f007ca3bc602969 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Sat, 1 Oct 2005 12:58:50 +0000 Subject: [PATCH] Warning-- svn path=/trunk/KDE/kdepim/; revision=466056 --- configuredialog_p.cpp | 2 +- kmcomposewin.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configuredialog_p.cpp b/configuredialog_p.cpp index de1ca0bef..d9e463f96 100644 --- a/configuredialog_p.cpp +++ b/configuredialog_p.cpp @@ -362,7 +362,7 @@ void ProfileDialog::slotOk() { if ( index < 0 ) return; // none selected - assert( (unsigned int)index < mProfileList.count() ); + assert( index < mProfileList.count() ); KConfig profile( mProfileList.at(index), true, false ); emit profileSelected( &profile ); diff --git a/kmcomposewin.cpp b/kmcomposewin.cpp index a86b78cee..639290713 100644 --- a/kmcomposewin.cpp +++ b/kmcomposewin.cpp @@ -622,7 +622,7 @@ void KMComposeWin::readConfig(void) mTransport->clear(); mTransport->insertStringList( KMTransportInfo::availableTransports() ); - while ( transportHistory.count() > (uint)GlobalSettings::self()->maxTransportEntries() ) + while ( transportHistory.count() > GlobalSettings::self()->maxTransportEntries() ) transportHistory.remove( transportHistory.last() ); mTransport->insertStringList( transportHistory ); if (mBtnTransport->isChecked() && !currentTransport.isEmpty()) @@ -2660,9 +2660,9 @@ void KMComposeWin::slotInsertFile() // Prevent config file from growing without bound // Would be nicer to get this constant from KRecentFilesAction uint mMaxRecentFiles = 30; - while (urls.count() > mMaxRecentFiles) + while ((uint)urls.count() > mMaxRecentFiles) urls.erase( urls.fromLast() ); - while (encodings.count() > mMaxRecentFiles) + while ((uint)encodings.count() > mMaxRecentFiles) urls.erase( encodings.fromLast() ); // sanity check if (urls.count() != encodings.count()) {