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.)
This commit is contained in:
YAMAMOTO Takashi 2021-08-12 16:51:52 +09:00 committed by Xiang Xiao
parent f6c194944c
commit 66650f223b

View File

@ -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 */