* Added support for both PCMCIA slots (at the same time!) on MPC8xx

* Patch by Rod Boyce, 21 Nov 2002:
  fix PCMCIA on MBX8xx board

* Patch by Pierre Aubert , 21 Nov 2002
  Add CFG_CPM_POST_WORD_ADDR to make the offset of the
  bootmode word in DPRAM configurable
diff --git a/lib_i386/i386_linux.c b/lib_i386/i386_linux.c
index c37a0d8..5a596ff 100644
--- a/lib_i386/i386_linux.c
+++ b/lib_i386/i386_linux.c
@@ -47,7 +47,7 @@
 void do_bootm_linux(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[],
 		ulong addr, ulong *len_ptr, int   verify)
 {
-	ulong base_ptr;
+	void *base_ptr;
 	
 	ulong len = 0, checksum;
 	ulong initrd_start, initrd_end;
@@ -150,7 +150,7 @@
 		initrd_end = 0;
 	}
 	
-	base_ptr = load_zimage(addr + sizeof(image_header_t), ntohl(hdr->ih_size), 
+	base_ptr = load_zimage((void*)addr + sizeof(image_header_t), ntohl(hdr->ih_size), 
 			       initrd_start, initrd_end-initrd_start, 0);
 
 	if (NULL == base_ptr) {