Suppress int/void* cast compiler errors
This commit is contained in:
parent
c31061c7c2
commit
34afdba9e4
1 changed files with 2 additions and 2 deletions
4
src/if.c
4
src/if.c
|
@ -279,7 +279,7 @@ int patty_ax25_add_if(patty_ax25 *ax25, patty_ax25_if *iface) {
|
|||
}
|
||||
}
|
||||
|
||||
if (patty_dict_set(ax25->socks, fd, sizeof(fd), iface) == NULL) {
|
||||
if (patty_dict_set(ax25->socks, NULL + fd, sizeof(fd), iface) == NULL) {
|
||||
goto error_dict_set;
|
||||
}
|
||||
|
||||
|
@ -319,7 +319,7 @@ int patty_ax25_delete_if(patty_ax25 *ax25, patty_ax25_if *iface) {
|
|||
ax25->fdmax--;
|
||||
}
|
||||
|
||||
if (patty_dict_delete(ax25->socks, fd, sizeof(fd)) == NULL) {
|
||||
if (patty_dict_delete(ax25->socks, NULL + fd, sizeof(fd)) == NULL) {
|
||||
goto error_dict_delete;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue