diff --git a/src/misc.c b/src/misc.c index 2a145988..3acd732b 100644 --- a/src/misc.c +++ b/src/misc.c @@ -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; diff --git a/src/misc.h b/src/misc.h index 982462f8..60455415 100644 --- a/src/misc.h +++ b/src/misc.h @@ -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