diff options
author | Stuart Henderson <sthen@cvs.openbsd.org> | 2015-07-17 17:36:02 +0000 |
---|---|---|
committer | Stuart Henderson <sthen@cvs.openbsd.org> | 2015-07-17 17:36:02 +0000 |
commit | 0648fda297cd0b072f32820e0229845c7a30e092 (patch) | |
tree | 1a7b872b8edab265582e9c62f2dfd1c5ceb0d501 /usr.sbin/nsd/dname.h | |
parent | cf3a99ef19172cd8a3dc0b09ff92a6197f532b13 (diff) |
update to NSD 4.1.3, ok florian@, also tested by brad
Diffstat (limited to 'usr.sbin/nsd/dname.h')
-rw-r--r-- | usr.sbin/nsd/dname.h | 2 |
1 files changed, 1 insertions, 1 deletions
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))); } |