From 0648fda297cd0b072f32820e0229845c7a30e092 Mon Sep 17 00:00:00 2001 From: Stuart Henderson Date: Fri, 17 Jul 2015 17:36:02 +0000 Subject: update to NSD 4.1.3, ok florian@, also tested by brad --- usr.sbin/nsd/dname.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.sbin/nsd/dname.h') diff --git a/usr.sbin/nsd/dname.h b/usr.sbin/nsd/dname.h index a9aa15ad177..060afff5b15 100644 --- a/usr.sbin/nsd/dname.h +++ b/usr.sbin/nsd/dname.h @@ -217,7 +217,7 @@ static inline size_t dname_total_size(const dname_type *dname) { return (sizeof(dname_type) - + ((dname->label_count + dname->name_size) + + ((((size_t)dname->label_count) + ((size_t)dname->name_size)) * sizeof(uint8_t))); } -- cgit v1.2.3