summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/socks_gssapi.c2
-rw-r--r--lib/socks_sspi.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/socks_gssapi.c b/lib/socks_gssapi.c
index 3bccc79ac..b509c7132 100644
--- a/lib/socks_gssapi.c
+++ b/lib/socks_gssapi.c
@@ -131,7 +131,7 @@ CURLcode Curl_SOCKS5_gssapi_negotiate(int sockindex,
gss_buffer_desc* gss_token = GSS_C_NO_BUFFER;
gss_name_t server = GSS_C_NO_NAME;
gss_name_t gss_client_name = GSS_C_NO_NAME;
- u_short us_length;
+ unsigned short us_length;
char *user=NULL;
unsigned char socksreq[4]; /* room for gssapi exchange header only */
char *serviceptr = data->set.str[STRING_SOCKS5_GSSAPI_SERVICE];
diff --git a/lib/socks_sspi.c b/lib/socks_sspi.c
index aaf20f5ce..aaaed5e95 100644
--- a/lib/socks_sspi.c
+++ b/lib/socks_sspi.c
@@ -180,7 +180,7 @@ CURLcode Curl_SOCKS5_gssapi_negotiate(int sockindex,
SecPkgCredentials_Names names;
TimeStamp expiry;
char *service_name=NULL;
- u_short us_length;
+ unsigned short us_length;
ULONG qop;
unsigned char socksreq[4]; /* room for gssapi exchange header only */
char *service = data->set.str[STRING_SOCKS5_GSSAPI_SERVICE];