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

@@ -137,11 +137,11 @@ namespace json11 {
}
static MlValue ivalualize(int value) {
return MlValue(value);
return MlValue((long)value);
}
static MlValue ivalualize(bool value) {
return MlValue(value);
return MlValue((long)value);
}
static MlValue ivalualize(const string &value) {