From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1570 invoked by alias); 11 Feb 2009 14:21:44 -0000 Received: (qmail 1559 invoked by uid 22791); 11 Feb 2009 14:21:43 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org Received: from outdoor.onevision.de (HELO outdoor.onevision.de) (212.77.172.51) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 11 Feb 2009 14:21:37 +0000 Received: from sanders.onevision.de (moonrace [212.77.172.62]) by outdoor.onevision.de (8.14.3/8.13.7/ROSCH/DDB) with ESMTP id n1BELTv4031279 for ; Wed, 11 Feb 2009 15:21:34 +0100 To: gdb-patches@sourceware.org Subject: [patch]: Fix windows x64 build MIME-Version: 1.0 Message-ID: From: Kai Tietz Date: Wed, 11 Feb 2009 14:21:00 -0000 Content-Type: text/plain; charset="US-ASCII" 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: 2009-02/txt/msg00236.txt.bz2 Hello, I noticed that building of w64 was broken by a warning in gdbarch.c by casting a pointer to long type. ChangeLog 2009-02-11 Kai Tietz * gdbarch.c (gdbarch_dump): Cast via size_t to long. Is this patch ok to apply? Kai | (\_/) This is Bunny. Copy and paste Bunny | (='.'=) into your signature to help him gain | (")_(") world domination. Index: src/gdb/gdbarch.c =================================================================== --- src.orig/gdb/gdbarch.c 2009-02-11 10:10:10.000000000 +0100 +++ src/gdb/gdbarch.c 2009-02-11 10:10:35.462651800 +0100 @@ -842,7 +842,7 @@ gdbarch_get_siginfo_type_p (gdbarch)); fprintf_unfiltered (file, "gdbarch_dump: get_siginfo_type = <0x%lx>\n", - (long) gdbarch->get_siginfo_type); + (long) (size_t) gdbarch->get_siginfo_type); fprintf_unfiltered (file, "gdbarch_dump: has_global_solist = %s\n", plongest (gdbarch->has_global_solist));