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

[Xen-devel] signed/unsigned patch



Against bk xeno-unstable. 


Correct some signed int to unsigned variables to fix 
gcc 4.X warning messages.

Signed-off-by: Flavio Bruno Leitner <fbl@xxxxxxxxxxxxxxxx>

===== tools/python/xen/lowlevel/xs/xs.c 1.1 vs edited =====
--- 1.1/tools/python/xen/lowlevel/xs/xs.c       2005-06-07 09:20:32 -04:00
+++ edited/tools/python/xen/lowlevel/xs/xs.c    2005-06-09 10:51:14 -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)

-- 
Flávio Bruno Leitner <fbl@xxxxxxxxxxxxxxxx>
[0EA2 7F40 4CF4 1E63 4AF6  33C0 3E10 E205 F251 EDDA]

_______________________________________________
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®.