diff options
author | Karl Ramm <kcr@1ts.org> | 2009-04-21 15:04:33 +0000 |
---|---|---|
committer | Karl Ramm <kcr@1ts.org> | 2009-04-21 15:04:33 +0000 |
commit | 65985154f1dc200dec5738a6092c6d3247a3744b (patch) | |
tree | 8cf39b573a2c86f409b9d68c951acac61adcb2e0 /lib/ZInit.c | |
parent | 8a75a336df6609a4d0a7650e4a0e7b1f13e9ed7c (diff) |
use less oddball types
Diffstat (limited to 'lib/ZInit.c')
-rw-r--r-- | lib/ZInit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ZInit.c b/lib/ZInit.c index e8f4a83..f6ec6de 100644 --- a/lib/ZInit.c +++ b/lib/ZInit.c @@ -301,11 +301,11 @@ static int txt_lookup(char *qname, char **result) { if (left < 10) return -1; - type = ntohs(*(u_int16_t *)p); + type = ntohs(*(uint16_t *)p); p += 2; - class = ntohs(*(u_int16_t *)p); + class = ntohs(*(uint16_t *)p); p += 6; - ret = ntohs(*(u_int16_t *)p); + ret = ntohs(*(uint16_t *)p); p += 2; left -= 10; |