mirror of
https://github.com/haiwen/libsearpc.git
synced 2025-09-01 12:56:32 +00:00
Fix traivis ci, which has an older version of libjansson.
This commit is contained in:
@@ -66,7 +66,7 @@ inline static const json_t *json_array_get_json_or_null_element (json_t *array,
|
||||
inline static void json_array_add_json_or_null_element (json_t *array, const json_t *value)
|
||||
{
|
||||
if (value) {
|
||||
json_t *obj = json_deep_copy(value);
|
||||
json_t *obj = json_deep_copy((json_t*)value);
|
||||
json_array_append_new (array, obj);
|
||||
} else {
|
||||
json_array_append_new (array, json_null ());
|
||||
|
Reference in New Issue
Block a user