[PATCH xfs] Clean up some pointer signedness warnings
Alan Coopersmith
alan.coopersmith at oracle.com
Fri Jun 11 18:09:02 PDT 2010
Found this buried in my patches-todo folder, so finally pushed it to git
master. Thanks for the fix and sorry for the months of delay.
-alan-
Jeff Smith wrote:
> Signed-off-by: Jeff Smith <whydoubt at yahoo.com>
> ---
> 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))
--
-Alan Coopersmith- alan.coopersmith at oracle.com
Oracle Solaris Platform Engineering: X Window System
More information about the xorg-devel
mailing list