[PATCH xfs] Clean up some pointer signedness warnings

Rémi Cardona remi at gentoo.org
Fri Mar 19 12:12:09 PDT 2010


Le 19/03/2010 19:48, Jeff Smith a écrit :
> Signed-off-by: Jeff Smith <whydoubt at yahoo.com>

A patch for xfs? Wow...

Other than that...

Reviewed-by: Rémi Cardona <remi at gentoo.org>

>  difs/difsutils.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/difs/difsutils.c b/difs/difsutils.c
> index e5c318a..1149bad 100644
> --- a/difs/difsutils.c
> +++ b/difs/difsutils.c
> @@ -193,7 +193,7 @@ void
>  CopyISOLatin1Lowered(char *d, char *s, int length)
>  {
>      register int i;
> -    unsigned char *dest = d, *source = s;
> +    unsigned char *dest = (unsigned char *)d, *source = (unsigned char *)s;
>  
>      for (i = 0; i < length; i++, source++, dest++) {
>  	if ((*source >= XK_A) && (*source <= XK_Z))



More information about the xorg-devel mailing list