[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[XenPPC] [xenppc-unstable] [ppc] compiler warnings



# HG changeset patch
# User Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
# Node ID 87346baa06916303fa495cc7c1e73e12135ab88a
# Parent  7389b68cd017fa621382c00f67e468cfd36a47c0
[ppc] compiler warnings

Signed-off-by: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
---
 tools/domctrl/create.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff -r 7389b68cd017 -r 87346baa0691 tools/domctrl/create.c
--- a/tools/domctrl/create.c    Thu Jun 08 17:06:17 2006 -0400
+++ b/tools/domctrl/create.c    Thu Jun 08 17:07:02 2006 -0400
@@ -71,7 +71,7 @@ static void free_file(void *img)
     if (img != NULL)
         free(img);
 }
-static int create_domain(int *domid)
+static int create_domain(unsigned *domid)
 {
        xen_domain_handle_t dummy = { 0 };
        int rc;
@@ -228,7 +228,7 @@ static int load_kernel(
     xen_pfn_t *page_array)
 {
        struct load_funcs load_funcs;
-       uint8_t *kernel_img;
+       void *kernel_img;
        unsigned long kernel_size;
        int rc;
 
@@ -369,7 +369,7 @@ int create(char *argv[], int argc)
     unsigned long dtb_addr;
     unsigned long si_addr;
     start_info_t si;
-       int domid = 0;
+       unsigned domid = 0;
        int rc = 0;
 #ifdef INITRD
        unsigned long initrd_base = 0;

_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.