From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16638 invoked by alias); 27 Feb 2011 21:03:02 -0000 Received: (qmail 16624 invoked by uid 22791); 27 Feb 2011 21:03:01 -0000 X-SWARE-Spam-Status: No, hits=-5.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp-outbound-2.vmware.com (HELO smtp-outbound-2.vmware.com) (65.115.85.73) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 27 Feb 2011 21:02:57 +0000 Received: from mailhost3.vmware.com (mailhost3.vmware.com [10.16.27.45]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id D090644006 for ; Sun, 27 Feb 2011 13:02:55 -0800 (PST) Received: from msnyder-server.eng.vmware.com (promd-2s-dhcp138.eng.vmware.com [10.20.124.138]) by mailhost3.vmware.com (Postfix) with ESMTP id C62B2CD94A for ; Sun, 27 Feb 2011 13:02:55 -0800 (PST) Message-ID: <4D6ABBFF.5030401@vmware.com> Date: Sun, 27 Feb 2011 21:16:00 -0000 From: Michael Snyder User-Agent: Thunderbird 2.0.0.24 (X11/20101201) MIME-Version: 1.0 To: "gdb-patches@sourceware.org" Subject: [RFA] gdb.cp/overload.cc: add cast to prevent compiler warning Content-Type: multipart/mixed; boundary="------------010602030900020802070209" X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-02/txt/msg00842.txt.bz2 This is a multi-part message in MIME format. --------------010602030900020802070209 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 64 The compiler warning prevents this test from actually running. --------------010602030900020802070209 Content-Type: text/plain; name="overload.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="overload.txt" Content-length: 630 2011-02-27 Michael Snyder * gdb.cp/overload.cc: Add cast to prevent compiler warning. Index: gdb.cp/overload.cc =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.cp/overload.cc,v retrieving revision 1.7 diff -u -p -u -p -r1.7 overload.cc --- gdb.cp/overload.cc 4 Nov 2010 20:43:25 -0000 1.7 +++ gdb.cp/overload.cc 27 Feb 2011 21:00:47 -0000 @@ -110,7 +110,7 @@ int main () unsigned long arg10 =10; float arg11 =100.0; double arg12 = 200.0; - int arg13 = 200.0; + int arg13 = (int) 200.0; char arg14 = 'a'; A a; --------------010602030900020802070209--