[build] try to fix issue

This commit is contained in:
Timothy Stack 2022-06-28 22:44:02 -07:00
parent 2a9f0bcda8
commit 689793d39f
1 changed files with 2 additions and 1 deletions

View File

@ -733,7 +733,8 @@ struct json_path_handler : public json_path_handler_base {
auto* obj = ypc->ypc_obj_stack.top();
auto key = ypc->get_path_fragment(-1);
json_path_handler::get_field(obj, args...)[key] = val;
json_path_handler::get_field(obj, args...)[key]
= static_cast<int64_t>(val);
return 1;
};