ia64/xen-unstable

changeset 5422:0381e85305cf

bitkeeper revision 1.1705.1.12 (42a97f88WORgYhHS8W4t6DR8V9a0EQ)

signedness fix for gcc-4.0

Signed-off-by: Flavio Bruno Leitner <fbl@conectiva.com.br>
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
author vh249@arcadians.cl.cam.ac.uk
date Fri Jun 10 11:54:48 2005 +0000 (2005-06-10)
parents 509905cdbafe
children 61f0cf22d5cd
files tools/python/xen/lowlevel/xs/xs.c
line diff
     1.1 --- a/tools/python/xen/lowlevel/xs/xs.c	Fri Jun 10 11:05:17 2005 +0000
     1.2 +++ b/tools/python/xen/lowlevel/xs/xs.c	Fri Jun 10 11:54:48 2005 +0000
     1.3 @@ -85,7 +85,7 @@ static PyObject *xspy_read(PyObject *sel
     1.4  
     1.5      struct xs_handle *xh = xshandle(self);
     1.6      char *xsval = NULL;
     1.7 -    int xsval_n = 0;
     1.8 +    unsigned int xsval_n = 0;
     1.9      PyObject *val = NULL;
    1.10  
    1.11      if (!xh)
    1.12 @@ -134,7 +134,7 @@ static PyObject *xspy_ls(PyObject *self,
    1.13      struct xs_handle *xh = xshandle(self);
    1.14      PyObject *val = NULL;
    1.15      char **xsval = NULL;
    1.16 -    int xsval_n = 0;
    1.17 +    unsigned int xsval_n = 0;
    1.18      int i;
    1.19  
    1.20      if (!xh)
    1.21 @@ -183,7 +183,7 @@ static PyObject *xspy_get_permissions(Py
    1.22      struct xs_handle *xh = xshandle(self);
    1.23      PyObject *val = NULL;
    1.24      struct xs_permissions *perms;
    1.25 -    int perms_n = 0;
    1.26 +    unsigned int perms_n = 0;
    1.27      int i;
    1.28  
    1.29      if (!xh)