diff options
author | Guy Harris <guy@alum.mit.edu> | 2018-09-12 19:41:38 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2018-09-12 20:18:59 -0700 |
commit | 10d7a3c17283fb3f97753a3f291468af774e871f (patch) | |
tree | b3f58cc7a6f66e250149dc47f2afb8366d403c9d /pcap-netmap.c | |
parent | 5a3f2a9ec54a06ac925cf7f394038ac1212d9e56 (diff) |
Squelch more narrowing warnings.
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 a577d2c6..ff9e79cb 100644 --- a/pcap-netmap.c +++ b/pcap-netmap.c @@ -117,7 +117,7 @@ pcap_netmap_dispatch(pcap_t *p, int cnt, pcap_handler cb, u_char *user) /* XXX need to check the NIOCTXSYNC/poll */ static int -pcap_netmap_inject(pcap_t *p, const void *buf, size_t size) +pcap_netmap_inject(pcap_t *p, const void *buf, int size) { struct pcap_netmap *pn = p->priv; struct nm_desc *d = pn->d; |