From: Steve Holme Date: Thu, 18 Apr 2013 18:18:02 +0000 (+0100) Subject: url: Fix incorrect variable type for result code X-Git-Tag: curl-7_31_0~148 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=63388fe1f3ccc4adefbaefcd56854fd23c300938;p=curl url: Fix incorrect variable type for result code --- diff --git a/lib/url.c b/lib/url.c index 811dd886b..6f2379524 100644 --- a/lib/url.c +++ b/lib/url.c @@ -4470,7 +4470,7 @@ static CURLcode parse_url_login(struct SessionHandle *data, static CURLcode parse_login_details(const char *login, const size_t len, char **userp, char **passwdp, char **optionsp) { - int result = CURLE_OK; + CURLcode result = CURLE_OK; char *utemp = NULL; char *ptemp = NULL; char *otemp = NULL;