From a40dcd3cb343323481b859cd626ecaccc1af65c6 Mon Sep 17 00:00:00 2001 From: gasbytes Date: Fri, 17 May 2024 18:44:15 +0200 Subject: [PATCH] u_int16_t -> uint16_t --- examples/benchmark/tls_bench.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/benchmark/tls_bench.c b/examples/benchmark/tls_bench.c index cd672911f..e152230e4 100644 --- a/examples/benchmark/tls_bench.c +++ b/examples/benchmark/tls_bench.c @@ -813,7 +813,7 @@ static int SetupSocketAndConnect(info_t* info, const char* host, /* Setup server address */ XMEMSET(&servAddr, 0, sizeof(servAddr)); servAddr.sin_family = AF_INET; - servAddr.sin_port = htons((u_int16_t)port); + servAddr.sin_port = htons((uint16_t)port); /* Resolve host */ entry = gethostbyname(host); @@ -1224,7 +1224,7 @@ static int SetupSocketAndListen(int* listenFd, word32 port, int doDTLS) /* Setup server address */ XMEMSET(&servAddr, 0, sizeof(servAddr)); servAddr.sin_family = AF_INET; - servAddr.sin_port = htons((u_int16_t)port); + servAddr.sin_port = htons((uint16_t)port); servAddr.sin_addr.s_addr = INADDR_ANY; #ifdef WOLFSSL_DTLS