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 <[email protected]>
===== tools/python/xen/lowlevel/xs/xs.c 1.1 vs edited =====
tools/python/xen/lowlevel/xs/xs.c +3 -3
@@ -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)
Signature · 2 lines
Flávio Bruno Leitner <[email protected]> [0EA2 7F40 4CF4 1E63 4AF6 33C0 3E10 E205 F251 EDDA]
Quoted 4 lines · Flavio Leitner
Correct some signed int to unsigned variables to fix gcc 4.X warning messages.
Signed-off-by Flavio Bruno Leitner <[email protected]>
looks good, applied
Thanks,
Signature · 1 line
Vincent Hanquez