]> Git trees. - libqmvoc.git/commitdiff
Warning--
authorLaurent Montel <montel@kde.org>
Tue, 20 Sep 2005 13:29:59 +0000 (13:29 +0000)
committerLaurent Montel <montel@kde.org>
Tue, 20 Sep 2005 13:29:59 +0000 (13:29 +0000)
svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=462252

extdate/extdatetimeedit.cpp

index 61967c822a2c9907d848eff66c950a337ed41676..5fc4f289927a51cda23c9eedca2e40b9fda9d8b7 100644 (file)
@@ -71,7 +71,7 @@ QString ExtDateEdit::simpleDateFormat() {
        int i=result.indexOf( "Y" );
        int dLength = result.length() - cleanText().length();
        if ( dLength > 0 ) { //the years field must have more than 4 digits
-               for ( uint j=0; j<dLength; j++ ) result.insert( i, "Y" );
+               for ( int j=0; j<dLength; j++ ) result.insert( i, "Y" );
        } else if ( dLength < 0 ) { //the years field has less than 4 digits
                result.remove( i, -1*dLength );
        }