From: Flavio Leitner Subject: signed/unsigned patch Date: Thu, 9 Jun 2005 15:08:11 -0300 Message-ID: <20050609180811.GH3661@conectiva.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel List-Id: xen-devel@lists.xenproject.org Against bk xeno-unstable.=20 Correct some signed int to unsigned variables to fix=20 gcc 4.X warning messages. Signed-off-by: Flavio Bruno Leitner =3D=3D=3D=3D=3D tools/python/xen/lowlevel/xs/xs.c 1.1 vs edited =3D=3D=3D= =3D=3D --- 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 @@ =20 struct xs_handle *xh =3D xshandle(self); char *xsval =3D NULL; - int xsval_n =3D 0; + unsigned int xsval_n =3D 0; PyObject *val =3D NULL; =20 if (!xh) @@ -134,7 +134,7 @@ struct xs_handle *xh =3D xshandle(self); PyObject *val =3D NULL; char **xsval =3D NULL; - int xsval_n =3D 0; + unsigned int xsval_n =3D 0; int i; =20 if (!xh) @@ -183,7 +183,7 @@ struct xs_handle *xh =3D xshandle(self); PyObject *val =3D NULL; struct xs_permissions *perms; - int perms_n =3D 0; + unsigned int perms_n =3D 0; int i; =20 if (!xh) --=20 Fl=E1vio Bruno Leitner [0EA2 7F40 4CF4 1E63 4AF6 33C0 3E10 E205 F251 EDDA]