From: Flavio Leitner <fbl@conectiva.com.br>
To: xen-devel <xen-devel@lists.xensource.com>
Subject: signed/unsigned patch
Date: Thu, 9 Jun 2005 15:08:11 -0300 [thread overview]
Message-ID: <20050609180811.GH3661@conectiva.com.br> (raw)
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]
next reply other threads:[~2005-06-09 18:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-09 18:08 Flavio Leitner [this message]
2005-06-10 11:56 ` signed/unsigned patch Vincent Hanquez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050609180811.GH3661@conectiva.com.br \
--to=fbl@conectiva.com.br \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.