Loading acinclude.m4 100755 → 100644 +0 −0 File mode changed from 100755 to 100644. View file lib/curl_addrinfo.c +2 −2 Original line number Diff line number Diff line Loading @@ -345,7 +345,7 @@ Curl_he2ai(const struct hostent *he, int port) addr = (void *)ai->ai_addr; /* storage area for this info */ memcpy(&addr->sin_addr, curr, sizeof(struct in_addr)); addr->sin_family = (unsigned short)(he->h_addrtype); addr->sin_family = (sa_family_t)(he->h_addrtype); addr->sin_port = htons((unsigned short)port); break; Loading @@ -354,7 +354,7 @@ Curl_he2ai(const struct hostent *he, int port) addr6 = (void *)ai->ai_addr; /* storage area for this info */ memcpy(&addr6->sin6_addr, curr, sizeof(struct in6_addr)); addr6->sin6_family = (unsigned short)(he->h_addrtype); addr6->sin6_family = (sa_family_t)(he->h_addrtype); addr6->sin6_port = htons((unsigned short)port); break; #endif Loading lib/mime.c +4 −1 Original line number Diff line number Diff line Loading @@ -1193,7 +1193,10 @@ CURLcode Curl_mime_duppart(curl_mimepart *dst, const curl_mimepart *src) } /* Duplicate other fields. */ if(dst != NULL) dst->encoder = src->encoder; else res = CURLE_WRITE_ERROR; if(!res) res = curl_mime_type(dst, src->mimetype); if(!res) Loading lib/tftp.c +1 −1 Original line number Diff line number Diff line Loading @@ -1010,7 +1010,7 @@ static CURLcode tftp_connect(struct connectdata *conn, bool *done) state->requested_blksize = blksize; ((struct sockaddr *)&state->local_addr)->sa_family = (unsigned short)(conn->ip_addr->ai_family); (sa_family_t)(conn->ip_addr->ai_family); tftp_set_timeouts(state); Loading lib/timeval.c +1 −1 Original line number Diff line number Diff line Loading @@ -110,7 +110,7 @@ struct curltime Curl_now(void) usecs /= 1000; cnow.tv_sec = usecs / 1000000; cnow.tv_usec = usecs % 1000000; cnow.tv_usec = (int)(usecs % 1000000); return cnow; } Loading Loading
lib/curl_addrinfo.c +2 −2 Original line number Diff line number Diff line Loading @@ -345,7 +345,7 @@ Curl_he2ai(const struct hostent *he, int port) addr = (void *)ai->ai_addr; /* storage area for this info */ memcpy(&addr->sin_addr, curr, sizeof(struct in_addr)); addr->sin_family = (unsigned short)(he->h_addrtype); addr->sin_family = (sa_family_t)(he->h_addrtype); addr->sin_port = htons((unsigned short)port); break; Loading @@ -354,7 +354,7 @@ Curl_he2ai(const struct hostent *he, int port) addr6 = (void *)ai->ai_addr; /* storage area for this info */ memcpy(&addr6->sin6_addr, curr, sizeof(struct in6_addr)); addr6->sin6_family = (unsigned short)(he->h_addrtype); addr6->sin6_family = (sa_family_t)(he->h_addrtype); addr6->sin6_port = htons((unsigned short)port); break; #endif Loading
lib/mime.c +4 −1 Original line number Diff line number Diff line Loading @@ -1193,7 +1193,10 @@ CURLcode Curl_mime_duppart(curl_mimepart *dst, const curl_mimepart *src) } /* Duplicate other fields. */ if(dst != NULL) dst->encoder = src->encoder; else res = CURLE_WRITE_ERROR; if(!res) res = curl_mime_type(dst, src->mimetype); if(!res) Loading
lib/tftp.c +1 −1 Original line number Diff line number Diff line Loading @@ -1010,7 +1010,7 @@ static CURLcode tftp_connect(struct connectdata *conn, bool *done) state->requested_blksize = blksize; ((struct sockaddr *)&state->local_addr)->sa_family = (unsigned short)(conn->ip_addr->ai_family); (sa_family_t)(conn->ip_addr->ai_family); tftp_set_timeouts(state); Loading
lib/timeval.c +1 −1 Original line number Diff line number Diff line Loading @@ -110,7 +110,7 @@ struct curltime Curl_now(void) usecs /= 1000; cnow.tv_sec = usecs / 1000000; cnow.tv_usec = usecs % 1000000; cnow.tv_usec = (int)(usecs % 1000000); return cnow; } Loading