diff --git a/src/corelib/io/qsavefile.cpp b/src/corelib/io/qsavefile.cpp index 067ccda3df8..afe39287bd3 100644 --- a/src/corelib/io/qsavefile.cpp +++ b/src/corelib/io/qsavefile.cpp @@ -204,7 +204,7 @@ bool QSaveFile::open(OpenMode mode) // In the future we could implement ReadWrite by copying from the existing file to the temp file... // The implications of NewOnly and ExistingOnly when used with QSaveFile need to be considered carefully... if (mode & (ReadOnly | Append | NewOnly | ExistingOnly)) { - qWarning("QSaveFile::open: Unsupported open mode 0x%x", int(mode)); + qWarning("QSaveFile::open: Unsupported open mode 0x%x", uint(mode.toInt())); return false; }