]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/XAO/XAO_XaoExporter.cxx
Salome HOME
Fix obvious warnings
[modules/shaper.git] / src / XAO / XAO_XaoExporter.cxx
index 6aa80408f6fef059d303b58a2e988fc529f62c9c..cf06cc22637e0dd014480f772aa9560c09eb5524 100644 (file)
@@ -222,7 +222,7 @@ namespace {
     {
         // export the shape in the XAO file
         std::string txtShape = xaoGeometry->getShapeString();
-        xmlNodePtr cdata = xmlNewCDataBlock(doc, BAD_CAST txtShape.c_str(), txtShape.size());
+        xmlNodePtr cdata = xmlNewCDataBlock(doc, BAD_CAST txtShape.c_str(), (int)txtShape.size());
         xmlAddChild(shape, cdata);
     }
     else