summaryrefslogtreecommitdiff
path: root/ares.h
diff options
context:
space:
mode:
Diffstat (limited to 'ares.h')
-rw-r--r--ares.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ares.h b/ares.h
index 35038d2..593a145 100644
--- a/ares.h
+++ b/ares.h
@@ -437,7 +437,7 @@ struct ares_srv_reply {
};
struct ares_txt_reply {
- unsigned int length;
+ size_t length; /* length excludes null termination */
unsigned char *txt;
};