fixes build on FreeBSD feature/array

Wed, 07 Aug 2019 21:44:35 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Wed, 07 Aug 2019 21:44:35 +0200
branch
feature/array
changeset 347
62660a4875c9
parent 346
1a9c112f4116
child 348
3b9b4f6e9fd6

fixes build on FreeBSD

src/array.c file | annotate | diff | comparison | revisions
--- a/src/array.c	Wed Aug 07 21:20:08 2019 +0200
+++ b/src/array.c	Wed Aug 07 21:44:35 2019 +0200
@@ -298,7 +298,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