diff options
author | Guy Harris <guy@alum.mit.edu> | 2018-11-09 11:22:46 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2018-11-09 11:22:46 -0800 |
commit | 6d000a605c023d852a371f5e4332c352bd5a925b (patch) | |
tree | 81d7fa75e08125b212cfd767882aaf44c50dba73 /pcap-netmap.c | |
parent | d9500279597993c5290c08ec095513e0de6ce8e3 (diff) |
Squelch a narrowing warning.
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 ff9e79cb..44ac6b56 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; |