summaryrefslogtreecommitdiff
path: root/ares_private.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-02-04 07:52:13 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-02-04 07:52:13 +0000
commitaaeec7841024bbb11d621e8f7e84bbb19de93184 (patch)
treefe2149da8bad6c727a9b4236227ccf0d1fbe94c4 /ares_private.h
parent0b59a6bb6663c7eecf11ca9a06e186b8f5ee3757 (diff)
downloadc-ares-aaeec7841024bbb11d621e8f7e84bbb19de93184.tar.gz
c-ares-aaeec7841024bbb11d621e8f7e84bbb19de93184.tar.bz2
c-ares-aaeec7841024bbb11d621e8f7e84bbb19de93184.zip
made more pointers unsigned, as they were mostly used passed in to functions
that assume them to be unsigned. Stops compiler warnings.
Diffstat (limited to 'ares_private.h')
-rw-r--r--ares_private.h6
1 files changed, 3 insertions, 3 deletions
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;