diff options
Diffstat (limited to 'ares/ares_process.c')
-rw-r--r-- | ares/ares_process.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ares/ares_process.c b/ares/ares_process.c index 3aa75cdae..e2d902fd1 100644 --- a/ares/ares_process.c +++ b/ares/ares_process.c @@ -1,7 +1,7 @@ /* $Id$ */ /* Copyright 1998 by the Massachusetts Institute of Technology. - * Copyright (C) 2004-2008 by Daniel Stenberg + * Copyright (C) 2004-2009 by Daniel Stenberg * * Permission to use, copy, modify, and distribute this * software and its documentation for any purpose and without @@ -104,7 +104,7 @@ static void end_query(ares_channel channel, struct query *query, int status, int ares__timedout(struct timeval *now, struct timeval *check) { - int secs = (now->tv_sec - check->tv_sec); + long secs = (now->tv_sec - check->tv_sec); if(secs > 0) return 1; /* yes, timed out */ |