Minor compilation fixes

This commit is contained in:
brunoherbelin
2020-10-12 16:41:34 +02:00
parent c674fa0897
commit 102413c7f4
2 changed files with 4 additions and 1 deletions

View File

@@ -149,7 +149,7 @@ std::string Selection::xml()
// create xml doc and root node
tinyxml2::XMLDocument xmlDoc;
tinyxml2::XMLElement *selectionNode = xmlDoc.NewElement(APP_NAME);
selectionNode->SetAttribute("size", selection_.size());
selectionNode->SetAttribute("size", (int) selection_.size());
xmlDoc.InsertEndChild(selectionNode);
// fill doc