[PATCH xfs] Clean up some pointer signedness warnings

Jeff Smith whydoubt at yahoo.com
Fri Mar 19 11:48:08 PDT 2010


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))
-- 
1.6.0.6

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the xorg-devel mailing list