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. --- lwip/port/netif/hurdethif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lwip/port/netif/hurdethif.c') diff --git a/lwip/port/netif/hurdethif.c b/lwip/port/netif/hurdethif.c index e076a3ac..ec899e40 100644 --- a/lwip/port/netif/hurdethif.c +++ b/lwip/port/netif/hurdethif.c @@ -75,7 +75,7 @@ static struct bpf_insn bpf_ether_filter[] = { {BPF_RET | BPF_K, 0, 0, 0}, /* Or discard it all */ }; -static int bpf_ether_filter_len = sizeof (bpf_ether_filter) / sizeof (short); +static int bpf_ether_filter_len = sizeof (bpf_ether_filter) / (sizeof (short)); /* Bucket and class for the incoming data */ struct port_bucket *etherport_bucket; -- cgit v1.2.3