Removed some redundant type casts

This commit is contained in:
Dan Fandrich
2008-09-02 18:36:39 +00:00
parent 934708d950
commit 0994d7811f
4 changed files with 5 additions and 5 deletions

View File

@@ -619,7 +619,7 @@ Curl_addrinfo *Curl_ip2addr(in_addr_t num, const char *hostname, int port)
h->h_aliases = NULL;
/* Now store the dotted version of the address */
snprintf((char *)h->h_name, 16, "%s", hostname);
snprintf(h->h_name, 16, "%s", hostname);
#if defined(VMS) && \
defined(__INITIAL_POINTER_SIZE) && (__INITIAL_POINTER_SIZE == 64)