aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ares/ares_private.h6
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;