Skip to content

Commit eecfd4a

Browse files
committedMar 3, 2023
Fix clang warning
1 parent fff78ed commit eecfd4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/app/layout/qgslayoutdesignerdialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4232,7 +4232,7 @@ bool QgsLayoutDesignerDialog::showFileSizeWarning()
42324232
{
42334233
int answer = QMessageBox::warning( this, tr( "Export Layout" ),
42344234
tr( "To create an image of %1x%2 requires about %3 of memory. Proceed?" )
4235-
.arg( width ).arg( height ).arg( QgsFileUtils::representFileSize( memuse ) ),
4235+
.arg( width ).arg( height ).arg( QgsFileUtils::representFileSize( static_cast< qint64 >( memuse ) ) ),
42364236
QMessageBox::Ok | QMessageBox::Cancel, QMessageBox::Ok );
42374237

42384238
raise();

0 commit comments

Comments
 (0)
Please sign in to comment.