diff --git a/src/Base/Parameter.cpp b/src/Base/Parameter.cpp index f81f45f95b..e78ccf46c0 100644 --- a/src/Base/Parameter.cpp +++ b/src/Base/Parameter.cpp @@ -1582,7 +1582,7 @@ void ParameterManager::CheckDocument() const parser.parse(xmlFile); if (parser.getErrorCount() > 0) { - Base::Console().Error("Unexpected XML structure detected: %d errors\n", parser.getErrorCount()); + Base::Console().Error("Unexpected XML structure detected: %zu errors\n", parser.getErrorCount()); } } catch (XMLException& e) {