diff --git a/ryzom/client/src/r2/editor.cpp b/ryzom/client/src/r2/editor.cpp index fa98d3c3b..0424d5f9d 100644 --- a/ryzom/client/src/r2/editor.cpp +++ b/ryzom/client/src/r2/editor.cpp @@ -7809,7 +7809,7 @@ NLMISC_COMMAND(saveScenarioRtData, "save scenario RtData to file", "") pRtData->serialize(ss); //std::string str = ss.str(); // output.serial(ss); - output.serialBuffer((uint8_t *)ss.c_str(), ss.length()); + output.serialBuffer((uint8 *)ss.c_str(), ss.length()); output.flush(); output.close(); }