mirror of
https://github.com/json-c/json-c.git
synced 2026-03-29 01:49:06 +08:00
add test cases
This commit is contained in:
@@ -656,7 +656,8 @@ int32_t json_object_get_int(const struct json_object *jso)
|
||||
} else {
|
||||
if (jso->o.c_int.cint.c_uint64 >= INT64_MAX)
|
||||
cint64 = INT64_MAX;
|
||||
cint64 = (int64_t)jso->o.c_int.cint.c_uint64;
|
||||
else
|
||||
cint64 = (int64_t)jso->o.c_int.cint.c_uint64;
|
||||
}
|
||||
|
||||
if (o_type == json_type_string)
|
||||
|
||||
Reference in New Issue
Block a user