From 10d7a3c17283fb3f97753a3f291468af774e871f Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Wed, 12 Sep 2018 19:41:38 -0700 Subject: Squelch more narrowing warnings. --- pcap-int.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pcap-int.h') diff --git a/pcap-int.h b/pcap-int.h index 2426ab10..99e7af78 100644 --- a/pcap-int.h +++ b/pcap-int.h @@ -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); -- cgit v1.2.1