[misc] 'unsigned short' instead of 'short unsigned' as arg to net_evhttp_bind()

This commit is contained in:
ejurgensen 2022-12-22 15:02:17 +01:00
parent 316d932d99
commit 2e31a3d4f3
2 changed files with 2 additions and 2 deletions

View File

@ -375,7 +375,7 @@ net_bind(short unsigned *port, int type, const char *log_service_name)
}
int
net_evhttp_bind(struct evhttp *evhttp, short unsigned port, const char *log_service_name)
net_evhttp_bind(struct evhttp *evhttp, unsigned short port, const char *log_service_name)
{
const char *bind_address;
bool v6_enabled;

View File

@ -55,7 +55,7 @@ int
net_bind(short unsigned *port, int type, const char *log_service_name);
int
net_evhttp_bind(struct evhttp *evhttp, short unsigned port, const char *log_service_name);
net_evhttp_bind(struct evhttp *evhttp, unsigned short port, const char *log_service_name);
// Just checks if the protocol is http or https
bool