1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

sys/fuzzing: avoid explicit cast to netdev

This commit is contained in:
Jose Alamos 2021-06-22 16:02:13 +02:00
parent d4052805f9
commit c225eaa74b
No known key found for this signature in database
GPG Key ID: F483EB800EF89DD9

View File

@ -45,7 +45,7 @@ int fuzzing_netdev(gnrc_netif_t *netif) {
netdev_test_set_get_cb(&dev, NETOPT_DEVICE_TYPE, _dev_get_device_type);
return gnrc_netif_raw_create(netif, _netif_stack, THREAD_STACKSIZE_DEFAULT,
GNRC_NETIF_PRIO, "dummy_netif", (netdev_t *)&dev);
GNRC_NETIF_PRIO, "dummy_netif", &dev.netdev.netdev);
}
void fuzzing_netdev_wait(void) {