References: Received: from mx.ams1.isc.org (mx.ams1.isc.org [199.6.1.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mx.ams1.isc.org", Issuer "COMODO RSA Organization Validation Secure Server CA" (not verified)) by bugs.isc.org (Postfix) with ESMTPS id C78AAD78B0A for ; Wed, 27 Sep 2017 07:59:22 +0000 (UTC) Received: from zmx1.isc.org (zmx1.isc.org [149.20.0.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx.ams1.isc.org (Postfix) with ESMTPS id 6CFD224AECE for ; Wed, 27 Sep 2017 07:57:55 +0000 (UTC) Received: from zmx1.isc.org (localhost [127.0.0.1]) by zmx1.isc.org (Postfix) with ESMTPS id F4108160090 for ; Wed, 27 Sep 2017 07:58:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by zmx1.isc.org (Postfix) with ESMTP id D1D9C16008B for ; Wed, 27 Sep 2017 07:58:02 +0000 (UTC) Received: from zmx1.isc.org ([127.0.0.1]) by localhost (zmx1.isc.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id TwM_ZzC3T2dB for ; Wed, 27 Sep 2017 07:58:02 +0000 (UTC) Received: from rock.dv.isc.org (c27-253-115-14.carlnfd2.nsw.optusnet.com.au [27.253.115.14]) by zmx1.isc.org (Postfix) with ESMTPSA id 82D4816008F for ; Wed, 27 Sep 2017 07:58:02 +0000 (UTC) Received: from rock.dv.isc.org (localhost [IPv6:::1]) by rock.dv.isc.org (Postfix) with ESMTP id 9CBDC88498BC for ; Wed, 27 Sep 2017 17:58:00 +1000 (AEST) Delivered-To: bind9-public@bugs.isc.org From marka@isc.org Wed Sep 27 07:59:23 2017 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mx.ams1.isc.org Return-Path: X-RT-Incoming-Encryption: Not encrypted X-Spam-Status: No, score=-2.4 required=5.0 tests=ALL_TRUSTED,BAYES_00, PP_MIME_FAKE_ASCII_TEXT,RP_MATCHES_RCVD autolearn=no autolearn_force=no version=3.4.1 Date: Wed, 27 Sep 2017 17:58:00 +1000 From: "Mark Andrews" In-Reply-To: Your message of "Wed, 27 Sep 2017 07:33:17 +0000." X-RT-Interface: Email content-type: text/plain; charset="utf-8" X-Original-To: bind9-public@bugs.isc.org To: bind9-public@isc.org Subject: Re: [ISC-Bugs #46107] Build errors - master with --enable-developer Message-ID: <20170927075800.9CBDC88498BC@rock.dv.isc.org> X-RT-Original-Encoding: utf-8 RT-Message-ID: Content-Length: 791 In message , "Ray Bellis via R T" writes: > There's still (at least) one error in ht_test.c: > > ht_test.c:58:39: error: ‘%lld’ directive output may be truncated writing > between 1 and 19 bytes into a region of size 16 [-Werror=format-truncation=] > snprintf((char *)key, sizeof(key), "%lld", i); > ht_test.c:58:38: note: directive argument in the range [1, > 9223372036854775806] > snprintf((char *)key, sizeof(key), "%lld", i); > ^~~~~~ Casted i to unsigned int and used "%u". > -- > Ticket History: https://bugs.isc.org/Ticket/Display.html?id=46107 -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: marka@isc.org