diff --git a/src/App/PropertyPythonObject.cpp b/src/App/PropertyPythonObject.cpp index d9af45dcd..aa5534e61 100644 --- a/src/App/PropertyPythonObject.cpp +++ b/src/App/PropertyPythonObject.cpp @@ -335,7 +335,7 @@ void PropertyPythonObject::Restore(Base::XMLReader &reader) else if (load_pickle) this->loadPickle(buffer); else - Base::Console().Warning("PropertyPythonObject::Restore: unsupported serialisation: %s\n", buffer); + Base::Console().Warning("PropertyPythonObject::Restore: unsupported serialisation: %s\n", buffer.c_str()); restoreObject(reader); hasSetValue(); }