diff --git a/src/coap_debug.c b/src/coap_debug.c index c8ca80fc..bfcc461e 100644 --- a/src/coap_debug.c +++ b/src/coap_debug.c @@ -210,7 +210,7 @@ size_t coap_print_addr(const coap_address_t *addr, unsigned char *buf, size_t len) { #if defined( HAVE_ARPA_INET_H ) || defined( HAVE_WS2TCPIP_H ) const void *addrptr = NULL; - in_port_t port; + uint16_t port; unsigned char *p = buf; size_t need_buf;