From 4743dfd070a5f1ce69299f920ca6b85a1c128330 Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Mon, 5 Dec 2016 16:29:49 +0100 Subject: [PATCH] avoid undefined behaviour in clang vs. gcc --- pdns/pdnsutil.cc | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pdns/pdnsutil.cc b/pdns/pdnsutil.cc index 092fd81e9d..7f99c2d3c7 100644 --- a/pdns/pdnsutil.cc +++ b/pdns/pdnsutil.cc @@ -1668,12 +1668,14 @@ bool showZone(DNSSECKeeper& dk, const DNSName& zone, bool exportDS = false) cout<