diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-02-04 07:52:13 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-02-04 07:52:13 +0000 |
commit | a7b504559863a9ccb71d6114974b7f7268b6f3e0 (patch) | |
tree | 31f6482cb36699c3da45b54bb91897f98a134231 /ares | |
parent | b7fda8ec73e7cb5db81f87b1dcfdc04315a95516 (diff) |
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')
-rw-r--r-- | ares/ares_private.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ares/ares_private.h b/ares/ares_private.h index 2fc70fb59..1bdaf305f 100644 --- a/ares/ares_private.h +++ b/ares/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; |