diff --git a/compat/jansson-2.5/src/dump.c b/compat/jansson-2.5/src/dump.c index dae12bee..d02f2c6b 100644 --- a/compat/jansson-2.5/src/dump.c +++ b/compat/jansson-2.5/src/dump.c @@ -306,7 +306,7 @@ static int do_dump(const json_t *json, size_t flags, int depth, int (*cmp_func)(const void *, const void *); size = json_object_size(json); - keys = (object_key *)jsonp_malloc(size * sizeof(struct object_key)); + keys = (struct object_key *)jsonp_malloc(size * sizeof(struct object_key)); if(!keys) goto object_error;