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-int.h | |
parent | 5a3f2a9ec54a06ac925cf7f394038ac1212d9e56 (diff) | |
download | libpcap-10d7a3c17283fb3f97753a3f291468af774e871f.tar.gz |
Squelch more narrowing warnings.
Diffstat (limited to 'pcap-int.h')
-rw-r--r-- | pcap-int.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -118,7 +118,7 @@ typedef int (*activate_op_t)(pcap_t *); typedef int (*can_set_rfmon_op_t)(pcap_t *); typedef int (*read_op_t)(pcap_t *, int cnt, pcap_handler, u_char *); typedef int (*next_packet_op_t)(pcap_t *, struct pcap_pkthdr *, u_char **); -typedef int (*inject_op_t)(pcap_t *, const void *, size_t); +typedef int (*inject_op_t)(pcap_t *, const void *, int); typedef void (*save_current_filter_op_t)(pcap_t *, const char *); typedef int (*setfilter_op_t)(pcap_t *, struct bpf_program *); typedef int (*setdirection_op_t)(pcap_t *, pcap_direction_t); |