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

[Xen-changelog] signedness fix for gcc-4.0



ChangeSet 1.1717, 2005/06/10 12:54:48+01:00, vh249@xxxxxxxxxxxxxxxxxxxxxx

        signedness fix for gcc-4.0
        
        Signed-off-by: Flavio Bruno Leitner <fbl@xxxxxxxxxxxxxxxx>
        Signed-off-by: Vincent Hanquez <vincent@xxxxxxxxxxxxx>



 xs.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


diff -Nru a/tools/python/xen/lowlevel/xs/xs.c 
b/tools/python/xen/lowlevel/xs/xs.c
--- a/tools/python/xen/lowlevel/xs/xs.c 2005-06-10 10:03:36 -04:00
+++ b/tools/python/xen/lowlevel/xs/xs.c 2005-06-10 10:03:36 -04:00
@@ -85,7 +85,7 @@
 
     struct xs_handle *xh = xshandle(self);
     char *xsval = NULL;
-    int xsval_n = 0;
+    unsigned int xsval_n = 0;
     PyObject *val = NULL;
 
     if (!xh)
@@ -134,7 +134,7 @@
     struct xs_handle *xh = xshandle(self);
     PyObject *val = NULL;
     char **xsval = NULL;
-    int xsval_n = 0;
+    unsigned int xsval_n = 0;
     int i;
 
     if (!xh)
@@ -183,7 +183,7 @@
     struct xs_handle *xh = xshandle(self);
     PyObject *val = NULL;
     struct xs_permissions *perms;
-    int perms_n = 0;
+    unsigned int perms_n = 0;
     int i;
 
     if (!xh)

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


 


Rackspace

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