I have a function

```
void get_alloc_single_struct(void **arr)
{
    *arr=malloc(sizeof(**arr));
}

```

I like to know how to call this above function from main for example

I am doing it like this

```
 struct ads *data1=NULL;
 get_alloc_single_struct(&(data1));

```

But But I am getting a warning and "note:..."

```
:29: warning: passing argument 1 of ‘get_alloc_single_struct’ from incompatible pointer type [-Wincompatible-pointer-types]
   24 |     get_alloc_single_struct(&(data1));
      |                             ^~~~~~~~
      |                             |
      |                             struct ads **
data.c:14:37: note: expected ‘void **’ but argument is of type ‘struct ads **’
   14 | void get_alloc_single_struct(void **arr)

```

when compiled with -Wall -Wextra

What I am doing wrong