Skip to content
Snippets Groups Projects
Commit a1c00ddb authored by Tomáš Pecka's avatar Tomáš Pecka
Browse files

alib2gui: Fix build on debian:testing

parent 951e2f9c
No related branches found
No related tags found
1 merge request!42Dev tp
......@@ -265,9 +265,9 @@ void MainWindow::on_actionSave_triggered() {
std::find(allBoxes.begin(), allBoxes.end(), conn->getTargetConnectionBox()->getParent()) -
allBoxes.begin();
Json::Value connection;
connection["from"] = i;
connection["to"] = targetIndex;
connection["slot"] = conn->getTargetConnectionBox()->getSlot();
connection["from"] = Json::Value::UInt64(i); /* cast to UInt64 for debian compatibility, see https://github.com/open-source-parsers/jsoncpp/issues/403 */
connection["to"] = Json::Value::UInt64(targetIndex); /* same */
connection["slot"] = Json::Value::UInt64(conn->getTargetConnectionBox()->getSlot()); /* same */
connections.append(connection);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment