aboutsummaryrefslogtreecommitdiffstats
path: root/tests/osmo-pcap-test/l4_udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/osmo-pcap-test/l4_udp.c')
-rw-r--r--tests/osmo-pcap-test/l4_udp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/osmo-pcap-test/l4_udp.c b/tests/osmo-pcap-test/l4_udp.c
index 9ffa77b..1733908 100644
--- a/tests/osmo-pcap-test/l4_udp.c
+++ b/tests/osmo-pcap-test/l4_udp.c
@@ -13,12 +13,12 @@
#include "proto.h"
-static int l4_udp_pkt_hdr_len(const uint8_t *pkt)
+static unsigned int l4_udp_pkt_hdr_len(const uint8_t *pkt)
{
return sizeof(struct udphdr);
}
-static int l4_udp_pkt_no_data(const uint8_t *pkt)
+static unsigned int l4_udp_pkt_no_data(const uint8_t *pkt)
{
/* UDP has no control packets. */
return 0;