From: Denis Ovsienko Date: Mon, 28 Sep 2020 13:29:13 +0000 (+0100) Subject: OpenFlow: Fix a compiler error on Windows. [skip travis] X-Git-Tag: tcpdump-4.99-bp~185 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/2bddf3b1f755b0bdd0255ddc7735f1d989a1d59a OpenFlow: Fix a compiler error on Windows. [skip travis] print-openflow.c(110): error C2081: 'u_int16_t': name in formal parameter list illegal --- diff --git a/print-openflow.c b/print-openflow.c index d56f704b..2b821880 100644 --- a/print-openflow.c +++ b/print-openflow.c @@ -107,7 +107,7 @@ openflow_print(netdissect_options *ndo, const u_char *cp, u_int len) uint8_t version, type; uint16_t length; void (*decoder)(struct netdissect_options *, - const u_char *, u_int16_t, const uint8_t) = NULL; + const u_char *, uint16_t, const uint8_t) = NULL; /* version */ version = GET_U_1(cp);