]> git.ozlabs.org Git - yaboot.git/blobdiff - include/ext2fs/bitops.h
warnings: Add explict casts to silence many compiler warnings about sign comparisions.
[yaboot.git] / include / ext2fs / bitops.h
index ae6ec34a4a5e4939ca25bbec7ea5e9f15acfceed..72c8945c18039a12e970705bc46b4cc5df106caa 100644 (file)
@@ -415,7 +415,7 @@ extern int ffs(unsigned int);
 
 _INLINE_ int ext2fs_find_first_bit_set(void * addr, unsigned size)
 {
-       char    *cp = (unsigned char *) addr;
+       unsigned char   *cp = (unsigned char *) addr;
        int     res = 0, d0;
 
        if (!size)