summaryrefslogtreecommitdiff
path: root/ares_private.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-07-10 08:21:48 +0000
committerYang Tse <yangsita@gmail.com>2008-07-10 08:21:48 +0000
commit2265b9281c8172709a90ccab4255e74527a24841 (patch)
tree9e9df76dd9f6f91740e2e7c74bd5eb0ed28faf53 /ares_private.h
parent8ee63e432d05f9ecbc107ec567b207ef75b0c1b7 (diff)
downloadc-ares-2265b9281c8172709a90ccab4255e74527a24841.tar.gz
c-ares-2265b9281c8172709a90ccab4255e74527a24841.tar.bz2
c-ares-2265b9281c8172709a90ccab4255e74527a24841.zip
fix compiler warning
Diffstat (limited to 'ares_private.h')
-rw-r--r--ares_private.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ares_private.h b/ares_private.h
index ba0015e..38269b0 100644
--- a/ares_private.h
+++ b/ares_private.h
@@ -268,8 +268,8 @@ int ares__timedout(struct timeval *now,
int ares__timeadd(struct timeval *now,
int millisecs);
/* return time offset between now and (future) check, in milliseconds */
-int ares__timeoffset(struct timeval *now,
- struct timeval *check);
+long ares__timeoffset(struct timeval *now,
+ struct timeval *check);
void ares__rc4(rc4_key* key,unsigned char *buffer_ptr, int buffer_len);
void ares__send_query(ares_channel channel, struct query *query,
struct timeval *now);