diff --git a/src/engine/external/json-parser/json.c b/src/engine/external/json-parser/json.c index 260527ca2..4e3752a07 100644 --- a/src/engine/external/json-parser/json.c +++ b/src/engine/external/json-parser/json.c @@ -132,7 +132,7 @@ static int new_value (json_state * state, values_size = sizeof (*value->u.object.values) * value->u.object.length; if (! ((*(void **) &value->u.object.values) = json_alloc - (state, values_size + ((unsigned long) value->u.object.values), 0)) ) + (state, values_size + ((uintptr_t) value->u.object.values), 0)) ) { return 0; }