From 66650f223b49964731861d7109d3d9d0a2c28fd7 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Thu, 12 Aug 2021 16:51:52 +0900 Subject: [PATCH] netlib: Change the type of url_s:port to uint16_t uint16_t is what's used in netlib and webclient in most of places. There is a static analizer complaining on the type mismatch. (It's actually harmless as far as I understand though.) --- include/netutils/netlib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/netutils/netlib.h b/include/netutils/netlib.h index e58d2aa43..03764ef75 100644 --- a/include/netutils/netlib.h +++ b/include/netutils/netlib.h @@ -221,7 +221,7 @@ struct url_s #endif FAR char *host; int hostlen; - int port; + uint16_t port; FAR char *path; int pathlen; #if 0 /* not yet */