]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/resolve/resolved-dns-answer.c
siphash24: introduce siphash24_compress_typesafe() macro
[thirdparty/systemd.git] / src / resolve / resolved-dns-answer.c
index bf023a77e448c7509e46926ec539939929980caa..254f8362d3a9797c2c6c051e96af9400b4d5cf13 100644 (file)
@@ -26,7 +26,7 @@ static void dns_answer_item_hash_func(const DnsAnswerItem *a, struct siphash *st
         assert(a);
         assert(state);
 
-        siphash24_compress(&a->ifindex, sizeof(a->ifindex), state);
+        siphash24_compress_typesafe(a->ifindex, state);
 
         dns_resource_record_hash_func(a->rr, state);
 }