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

[Xen-devel] [PATCH] gcc-4 fixes for xsls (i386)


  • To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Anthony Liguori <aliguori@xxxxxxxxxx>
  • Date: Tue, 11 Oct 2005 10:58:47 -0500
  • Delivery-date: Tue, 11 Oct 2005 15:56:17 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

The following patch is needed for xsls to compile under gcc-4 on i386. I believe there are other issues with it compiling on x86_64 too related to .*s and strlen.

Signed-off-by: Anthony Liguori <aliguori@xxxxxxxxxx>

Regards,

Anthony Liguori
# HG changeset patch
# User Anthony Liguori <anthony@xxxxxxxxxxxxx>
# Node ID c1e3fe2c8462278cf0fee235dcfc36e11b00aed6
# Parent  50540a0583f3d7837e4eb5ea9843f53636b58f29
Signed-ness matters in gcc-4

Signed-off-by: Anthony Liguori <aliguori@xxxxxxxxxx>

diff -r 50540a0583f3 -r c1e3fe2c8462 tools/xenstore/xsls.c
--- a/tools/xenstore/xsls.c     Tue Oct 11 10:51:26 2005 -0500
+++ b/tools/xenstore/xsls.c     Tue Oct 11 10:52:23 2005 -0500
@@ -8,7 +8,8 @@
 {
     char **e;
     char newpath[512], *val;
-    int num, i, len;
+    unsigned int num, len;
+    int i;
 
     e = xs_directory(h, NULL, path, &num);
     if (e == NULL)
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

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