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
     1.1 --- a/src/array.c	Sun Dec 29 19:45:00 2019 +0100
     1.2 +++ b/src/array.c	Sun Dec 29 20:21:35 2019 +0100
     1.3 @@ -379,7 +379,7 @@
     1.4  };
     1.5  
     1.6  static int cmp_func_swap_args(void *data, const void *x, const void *y) {
     1.7 -    cmpfnc_swapargs_info* info = data;
     1.8 +    struct cmpfnc_swapargs_info* info = data;
     1.9      return info->func(x, y, info->data);
    1.10  }
    1.11  

mercurial