summaryrefslogtreecommitdiff
path: root/ares.h
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2009-09-05 15:12:30 (GMT)
committerGunter Knauf <gk@gknw.de>2009-09-05 15:12:30 (GMT)
commit091393e79ce1f2042c6f8febd70232dbcf3da95e (patch)
tree8f4f477683cd2c2a5ac30625739cc0ca29cd12e0 /ares.h
parent6616621ffeff1d12b04627aa4ba98dee9187ce57 (diff)
downloadc-ares-091393e79ce1f2042c6f8febd70232dbcf3da95e.zip
c-ares-091393e79ce1f2042c6f8febd70232dbcf3da95e.tar.gz
c-ares-091393e79ce1f2042c6f8febd70232dbcf3da95e.tar.bz2
changed u_int16_t to unsigned short because it is the only place within ares and curl where such a type would be used;
also it broke many autobuilds. We should probably introduce an ares_port_t if we want to use a type here.
Diffstat (limited to 'ares.h')
-rw-r--r--ares.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ares.h b/ares.h
index bfca7da..ad7c4d5 100644
--- a/ares.h
+++ b/ares.h
@@ -323,9 +323,9 @@ struct addr6ttl {
};
struct srv_reply {
- u_int16_t weight;
- u_int16_t priority;
- u_int16_t port;
+ unsigned short weight;
+ unsigned short priority;
+ unsigned short port;
char *host;
};