summaryrefslogtreecommitdiff
path: root/src/resolve/dns-type.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-12-09 17:27:35 +0100
committerLennart Poettering <lennart@poettering.net>2015-12-10 11:28:01 +0100
commitc84e853934cf99a737ef7d3f4ee5d61a1a2a5696 (patch)
tree9baf41b5a0606072959e1310ad7eb400b8e79f3e /src/resolve/dns-type.h
parente4b0e862252ac5c50c533b46dfe839b7c45639ac (diff)
resolved: fix parameter type of dns_type_is_pseudo()
DNS RR types are uint16_t after all, treat them as such.
Diffstat (limited to 'src/resolve/dns-type.h')
-rw-r--r--src/resolve/dns-type.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/dns-type.h b/src/resolve/dns-type.h
index 950af36ee3..2868025ad7 100644
--- a/src/resolve/dns-type.h
+++ b/src/resolve/dns-type.h
@@ -25,7 +25,7 @@
const char *dns_type_to_string(int type);
int dns_type_from_string(const char *s);
-bool dns_type_is_pseudo(int n);
+bool dns_type_is_pseudo(uint16_t n);
/* DNS record types, taken from
* http://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml.