Browse Source

Fix build error in changed compat/jansson-2.5/src/dump.c (missing 'struct').

nfactor-troky
Noel Maersk 11 years ago
parent
commit
922bf25075
  1. 2
      compat/jansson-2.5/src/dump.c

2
compat/jansson-2.5/src/dump.c

@ -306,7 +306,7 @@ static int do_dump(const json_t *json, size_t flags, int depth, @@ -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;

Loading…
Cancel
Save