|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] gcc-4 fixes for xsls (i386)
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
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] gcc-4 fixes for xsls (i386),
Anthony Liguori <=
|
|
|
|
|