Suppress int/void* cast compiler errors

This commit is contained in:
XANTRONIX 2020-06-09 00:40:28 -04:00 committed by XANTRONIX Industrial
parent c31061c7c2
commit 34afdba9e4

View file

@ -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; goto error_dict_set;
} }
@ -319,7 +319,7 @@ int patty_ax25_delete_if(patty_ax25 *ax25, patty_ax25_if *iface) {
ax25->fdmax--; 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; goto error_dict_delete;
} }
} }