Skip to content

Commit bc2d963

Browse files
committed
Fix warning
1 parent a5b0c76 commit bc2d963

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/qgisapp.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -4148,7 +4148,7 @@ void QgisApp::saveRecentProjectPath( bool savePreviewImage )
41484148

41494149
// Keep the list to maxProjects items by trimming excess off the bottom
41504150
// And remove the associated image
4151-
while ( mRecentProjects.count() > maxProjects + pinnedCount )
4151+
while ( static_cast< uint >( mRecentProjects.count() ) > maxProjects + pinnedCount )
41524152
{
41534153
QFile( mRecentProjects.takeLast().previewImagePath ).remove();
41544154
}

0 commit comments

Comments
 (0)