From owner-svn-src-head@FreeBSD.ORG Thu Oct 31 18:53:14 2013 Return-Path: Delivered-To: svn-src-head@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 6D29563B; Thu, 31 Oct 2013 18:53:14 +0000 (UTC) (envelope-from sbruno@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5B0ED284F; Thu, 31 Oct 2013 18:53:14 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r9VIrEtC013760; Thu, 31 Oct 2013 18:53:14 GMT (envelope-from sbruno@svn.freebsd.org) Received: (from sbruno@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r9VIrEPU013759; Thu, 31 Oct 2013 18:53:14 GMT (envelope-from sbruno@svn.freebsd.org) Message-Id: <201310311853.r9VIrEPU013759@svn.freebsd.org> From: Sean Bruno Date: Thu, 31 Oct 2013 18:53:14 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r257463 - head/contrib/binutils/binutils X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Oct 2013 18:53:14 -0000 Author: sbruno Date: Thu Oct 31 18:53:13 2013 New Revision: 257463 URL: http://svnweb.freebsd.org/changeset/base/257463 Log: Queisce warning about attempting to add char * together and use explicit array indexing to indicate what is meant to be done Modified: head/contrib/binutils/binutils/readelf.c Modified: head/contrib/binutils/binutils/readelf.c ============================================================================== --- head/contrib/binutils/binutils/readelf.c Thu Oct 31 18:44:40 2013 (r257462) +++ head/contrib/binutils/binutils/readelf.c Thu Oct 31 18:53:13 2013 (r257463) @@ -7118,7 +7118,7 @@ process_symbol_table (FILE *file) n = print_vma (si, DEC_5); if (n < 5) - fputs (" " + n, stdout); + fputs (&" "[n], stdout); printf (" %3lu: ", hn); print_vma (psym->st_value, LONG_HEX); putchar (' ');