Skip to contentSkip to conversation

fix compiler warning for ia64

PATCH Applied Jes Sorensen 2 participants 2 messages Sep 5, 2008 – Sep 7, 2008 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix compiler warning for ia64

Hi,

Small patch, fixing the types to avoid some unncessary warnings on ia64.

Cheers,
Jes

Fixed types to match rest of qemu to eliminate silly compiler warning.

---
 qemu/hw/ipf.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
qemu/hw/ipf.c +3 -3
Index: 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 );
Applied
#1 lore raw
Quoted 4 lines · Jes Sorensen

Hi,

Small patch, fixing the types to avoid some unncessary warnings on ia64.

Applied, thanks.

Signature · 1 line
error compiling committee.c: too many arguments to function