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:
parent
d4052805f9
commit
c225eaa74b
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user