All of lore.kernel.org
 help / color / mirror / Atom feed
* signed/unsigned patch
@ 2005-06-09 18:08 Flavio Leitner
  2005-06-10 11:56 ` Vincent Hanquez
  0 siblings, 1 reply; 2+ messages in thread
From: Flavio Leitner @ 2005-06-09 18:08 UTC (permalink / raw)
  To: xen-devel


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@conectiva.com.br>

===== 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@conectiva.com.br>
[0EA2 7F40 4CF4 1E63 4AF6  33C0 3E10 E205 F251 EDDA]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: signed/unsigned patch
  2005-06-09 18:08 signed/unsigned patch Flavio Leitner
@ 2005-06-10 11:56 ` Vincent Hanquez
  0 siblings, 0 replies; 2+ messages in thread
From: Vincent Hanquez @ 2005-06-10 11:56 UTC (permalink / raw)
  To: Flavio Leitner; +Cc: xen-devel

On Thu, Jun 09, 2005 at 03:08:11PM -0300, Flavio Leitner wrote:
> Correct some signed int to unsigned variables to fix 
> gcc 4.X warning messages.
> 
> Signed-off-by: Flavio Bruno Leitner <fbl@conectiva.com.br>

looks good, applied

Thanks,
-- 
Vincent Hanquez

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-06-10 11:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-09 18:08 signed/unsigned patch Flavio Leitner
2005-06-10 11:56 ` Vincent Hanquez

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.