From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jes Sorensen Subject: [patch] fix compiler warning for ia64 Date: Fri, 05 Sep 2008 16:24:14 +0200 Message-ID: <48C1410E.5060207@sgi.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------060008050201070108000702" To: Avi Kivity , kvm@vger.kernel.org, kvm-ia64@vger.kernel.org Return-path: Received: from relay2.sgi.com ([192.48.171.30]:53970 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752168AbYIEOYQ (ORCPT ); Fri, 5 Sep 2008 10:24:16 -0400 Sender: kvm-owner@vger.kernel.org List-ID: This is a multi-part message in MIME format. --------------060008050201070108000702 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, Small patch, fixing the types to avoid some unncessary warnings on ia64. Cheers, Jes --------------060008050201070108000702 Content-Type: text/plain; name="0103-qemu-ia64-signness.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="0103-qemu-ia64-signness.patch" Fixed types to match rest of qemu to eliminate silly compiler warning. Signed-off-by: Jes Sorensen --- qemu/hw/ipf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Index: kvm-userspace.git/qemu/hw/ipf.c =================================================================== --- kvm-userspace.git.orig/qemu/hw/ipf.c +++ kvm-userspace.git/qemu/hw/ipf.c @@ -1,5 +1,5 @@ /* - * Itanium Platforma Emulator derived from QEMU PC System Emulator + * Itanium Platform Emulator derived from QEMU PC System Emulator * * Copyright (c) 2003-2004 Fabrice Bellard * @@ -456,9 +456,9 @@ int r; unsigned long image_size; char *image = NULL; - char *fw_image_start; + uint8_t *fw_image_start; ram_addr_t fw_offset = qemu_ram_alloc(GFW_SIZE); - char *fw_start = phys_ram_base + fw_offset; + uint8_t *fw_start = phys_ram_base + fw_offset; snprintf(buf, sizeof(buf), "%s/%s", bios_dir, FW_FILENAME); image = read_image(buf, &image_size ); --------------060008050201070108000702--