fixes build on FreeBSD and macOS

Sun, 29 Dec 2019 20:21:35 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sun, 29 Dec 2019 20:21:35 +0100
changeset 384
9b81a555c059
parent 383
db4c6b94939b
child 385
094476ae39e5

fixes build on FreeBSD and macOS

src/array.c file | annotate | diff | comparison | revisions
--- a/src/array.c	Sun Dec 29 19:45:00 2019 +0100
+++ b/src/array.c	Sun Dec 29 20:21:35 2019 +0100
@@ -379,7 +379,7 @@
 };
 
 static int cmp_func_swap_args(void *data, const void *x, const void *y) {
-    cmpfnc_swapargs_info* info = data;
+    struct cmpfnc_swapargs_info* info = data;
     return info->func(x, y, info->data);
 }
 

mercurial