diff options
Diffstat (limited to 'pcap-netmap.c')
| -rw-r--r-- | pcap-netmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pcap-netmap.c b/pcap-netmap.c index f1505633fcaa..b2301a7fd8de 100644 --- a/pcap-netmap.c +++ b/pcap-netmap.c @@ -67,7 +67,7 @@ pcap_netmap_stats(pcap_t *p, struct pcap_stat *ps) { struct pcap_netmap *pn = p->priv; - ps->ps_recv = pn->rx_pkts; + ps->ps_recv = (u_int)pn->rx_pkts; ps->ps_drop = 0; ps->ps_ifdrop = 0; return 0; |
