From a8d51bf0ce26fd26e00338540857f43b8a99e126 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 1 Jan 2022 13:53:31 +0100 Subject: Fix build warnings No actual behavior change. --- eth-multiplexer/ethernet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'eth-multiplexer/ethernet.c') diff --git a/eth-multiplexer/ethernet.c b/eth-multiplexer/ethernet.c index c8849aa1..e45a4b94 100644 --- a/eth-multiplexer/ethernet.c +++ b/eth-multiplexer/ethernet.c @@ -59,7 +59,7 @@ static struct bpf_insn ether_filter[] = {6, 0, 0, 1500}, {6, 0, 0, 0} }; -static int ether_filter_len = sizeof (ether_filter) / sizeof (short); +static int ether_filter_len = sizeof (ether_filter) / (sizeof (short)); int ethernet_demuxer (mach_msg_header_t *inp, mach_msg_header_t *outp) -- cgit v1.2.3