int is dead, long live long type!

This commit is contained in:
2021-03-17 23:56:02 +01:00
parent 7e561256ef
commit fcb3b4c5c5
6 changed files with 41 additions and 41 deletions

View File

@@ -93,7 +93,7 @@ MlValue exec_system_cmd(const std::string &cmd) {
// TODO add helper function for this
std::vector<MlValue> lst;
lst.push_back(MlValue(cmd_retval));
lst.push_back(MlValue((long)cmd_retval));
lst.push_back(MlValue::string(cmd_output));
return lst;
}