From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21618 invoked by alias); 8 Nov 2005 01:46:20 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 21609 invoked by uid 22791); 8 Nov 2005 01:46:18 -0000 Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 08 Nov 2005 01:46:18 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id jA81kGcT010349 for ; Mon, 7 Nov 2005 20:46:16 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id jA81kGV04167 for ; Mon, 7 Nov 2005 20:46:16 -0500 Received: from localhost.localdomain (vpn50-70.rdu.redhat.com [172.16.50.70]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id jA81kFLe011203 for ; Mon, 7 Nov 2005 20:46:16 -0500 Received: from ironwood.lan (ironwood.lan [192.168.64.8]) by localhost.localdomain (8.12.11/8.12.10) with ESMTP id jA81kAEu006564 for ; Mon, 7 Nov 2005 18:46:10 -0700 Date: Tue, 08 Nov 2005 17:17:00 -0000 From: Kevin Buettner To: gdb-patches@sources.redhat.com Subject: [commit] ia64-tdep.c: update an argument type in floatformat_valid() Message-ID: <20051107184610.7472b928@ironwood.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SW-Source: 2005-11/txt/msg00095.txt.bz2 I've just committed the change below. With this change in place, the ia64-linux-gnu target builds using -Werror. * ia64-tdep.c (floatformat_valid): Change type of `from' from `const char *' to `const void *'. Index: ia64-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/ia64-tdep.c,v retrieving revision 1.135 diff -u -p -r1.135 ia64-tdep.c --- ia64-tdep.c 10 Sep 2005 18:11:02 -0000 1.135 +++ ia64-tdep.c 8 Nov 2005 01:40:24 -0000 @@ -324,7 +324,7 @@ ia64_dwarf_reg_to_regnum (int reg) } static int -floatformat_valid (const struct floatformat *fmt, const char *from) +floatformat_valid (const struct floatformat *fmt, const void *from) { return 1; }