From owner-freebsd-current@FreeBSD.ORG Thu Oct 31 01:54:40 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 7E1F279E; Thu, 31 Oct 2013 01:54:40 +0000 (UTC) (envelope-from eric@vangyzen.net) Received: from smtp.vangyzen.net (hotblack.vangyzen.net [IPv6:2607:fc50:1000:7400:216:3eff:fe72:314f]) by mx1.freebsd.org (Postfix) with ESMTP id 579E8243C; Thu, 31 Oct 2013 01:54:40 +0000 (UTC) Received: from latitude.home.vangyzen.net (173-20-209-204.client.mchsi.com [173.20.209.204]) by smtp.vangyzen.net (Postfix) with ESMTP id 5B5AA5641F; Wed, 30 Oct 2013 20:54:39 -0500 (CDT) Message-ID: <5271B862.4070707@vangyzen.net> Date: Wed, 30 Oct 2013 20:54:42 -0500 From: Eric van Gyzen User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 MIME-Version: 1.0 To: sbruno@freebsd.org Subject: Re: [PATCH] Adjust binutils to quiesce -Wstring-plus-int References: <1383180558.1751.12.camel@localhost> In-Reply-To: <1383180558.1751.12.camel@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-current@freebsd.org" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Oct 2013 01:54:40 -0000 On 10/30/2013 07:49 PM, Sean Bruno wrote: > Spent some time doing string maths today. > > More or less, change the "static char intel_syntax" to an int and use it > as an array index instead of doing pointer math. > > Sean > > http://people.freebsd.org/~sbruno/binutils_opcodes.txt Looks good to me. Thanks for your efforts on these warnings. Eric