diff options
-rw-r--r-- | platform/linux-generic/pktio/netmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/linux-generic/pktio/netmap.c b/platform/linux-generic/pktio/netmap.c index 67ff95e4c..794c82ec8 100644 --- a/platform/linux-generic/pktio/netmap.c +++ b/platform/linux-generic/pktio/netmap.c @@ -190,7 +190,7 @@ error: static void netmap_recv_cb(u_char *arg, const struct nm_pkthdr *hdr, const u_char *buf) { - struct dispatch_args *args = (struct dispatch_args *)arg; + struct dispatch_args *args = (struct dispatch_args *)(void *)arg; pkt_netmap_t *pkt_nm = &args->pktio_entry->s.pkt_nm; odp_packet_t pkt; odp_packet_hdr_t *pkt_hdr; |