From aaeec7841024bbb11d621e8f7e84bbb19de93184 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 4 Feb 2004 07:52:13 +0000 Subject: made more pointers unsigned, as they were mostly used passed in to functions that assume them to be unsigned. Stops compiler warnings. --- ares_private.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ares_private.h') diff --git a/ares_private.h b/ares_private.h index 2fc70fb..1bdaf30 100644 --- a/ares_private.h +++ b/ares_private.h @@ -56,7 +56,7 @@ struct send_request { /* Remaining data to send */ - const char *data; + const unsigned char *data; int len; /* Next request in queue */ @@ -88,11 +88,11 @@ struct query { time_t timeout; /* Query buf with length at beginning, for TCP transmission */ - char *tcpbuf; + unsigned char *tcpbuf; int tcplen; /* Arguments passed to ares_send() (qbuf points into tcpbuf) */ - const char *qbuf; + const unsigned char *qbuf; int qlen; ares_callback callback; void *arg; -- cgit v1.2.3