1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-02-02 01:44:23 +00:00

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

This commit is contained in:
Noel Maersk 2014-02-01 00:29:37 +02:00
parent 975139e054
commit 922bf25075

View File

@ -306,7 +306,7 @@ static int do_dump(const json_t *json, size_t flags, int depth,
int (*cmp_func)(const void *, const void *); int (*cmp_func)(const void *, const void *);
size = json_object_size(json); 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) if(!keys)
goto object_error; goto object_error;