aboutsummaryrefslogtreecommitdiff
path: root/src/core/url.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/url.h')
-rw-r--r--src/core/url.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/url.h b/src/core/url.h
index 0f5f33c9..5aa53dfd 100644
--- a/src/core/url.h
+++ b/src/core/url.h
@@ -18,7 +18,7 @@ struct nng_url {
const char *u_scheme; // never NULL
const char *u_userinfo; // will be NULL if not specified
char *u_hostname; // name only, will be "" if not specified
- uint16_t u_port; // port, may be zero for schemes that do not use
+ uint32_t u_port; // port, may be zero for schemes that do not use
char *u_path; // path, will be "" if not specified
char *u_query; // without '?', will be NULL if not specified
char *u_fragment; // without '#', will be NULL if not specified