aboutsummaryrefslogtreecommitdiff
path: root/ares/ares_process.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-06-02 19:48:29 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-06-02 19:48:29 +0000
commitb084dc87600e8f1ab8a583f7f6b52b5c332d91b3 (patch)
tree37ef913082cc6483fbf0d69042f743b5f5f9d918 /ares/ares_process.c
parent2ae9536d324163b308c2f18f7d054d49f92d242a (diff)
Brad House fixed VS2005 compiler warnings due to time_t being 64bit.
He also made recent Microsoft compilers use _strdup() instead of strdup().
Diffstat (limited to 'ares/ares_process.c')
-rw-r--r--ares/ares_process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ares/ares_process.c b/ares/ares_process.c
index efc462a40..745fe682a 100644
--- a/ares/ares_process.c
+++ b/ares/ares_process.c
@@ -63,7 +63,7 @@ static void read_udp_packets(ares_channel channel, fd_set *read_fds,
ares_socket_t read_fd, time_t now);
static void process_timeouts(ares_channel channel, time_t now);
static void process_answer(ares_channel channel, unsigned char *abuf,
- int alen, int whichserver, int tcp, int now);
+ int alen, int whichserver, int tcp, time_t now);
static void handle_error(ares_channel channel, int whichserver, time_t now);
static struct query *next_server(ares_channel channel, struct query *query, time_t now);
static int open_tcp_socket(ares_channel channel, struct server_state *server);
@@ -398,7 +398,7 @@ static void process_timeouts(ares_channel channel, time_t now)
/* Handle an answer from a server. */
static void process_answer(ares_channel channel, unsigned char *abuf,
- int alen, int whichserver, int tcp, int now)
+ int alen, int whichserver, int tcp, time_t now)
{
int id, tc, rcode;
struct query *query;