summaryrefslogtreecommitdiff
path: root/src/resolve
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-12-14 21:23:54 +0100
committerLennart Poettering <lennart@poettering.net>2015-12-14 21:28:39 +0100
commite1a9f1a81dd438f972353f1907a99325c51bdfda (patch)
tree6bd4946b263839b46aa3b968b1b1e3cb1661e9da /src/resolve
parent24a5b982cf5aac97488eb94dba18d71e8b2b411a (diff)
resolved: constify a parameter
Diffstat (limited to 'src/resolve')
-rw-r--r--src/resolve/resolved-dns-packet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolved-dns-packet.c b/src/resolve/resolved-dns-packet.c
index 6714ceaadc..8fc3094b67 100644
--- a/src/resolve/resolved-dns-packet.c
+++ b/src/resolve/resolved-dns-packet.c
@@ -602,7 +602,7 @@ fail:
return r;
}
-static int dns_packet_append_type_window(DnsPacket *p, uint8_t window, uint8_t length, uint8_t *types, size_t *start) {
+static int dns_packet_append_type_window(DnsPacket *p, uint8_t window, uint8_t length, const uint8_t *types, size_t *start) {
size_t saved_size;
int r;