fix signed/unsigned char pointers
This commit is contained in:
parent
7ffce0c119
commit
a34f99930d
@ -320,7 +320,7 @@ _INLINE_ __u32 ext2fs_swab32(__u32 val)
|
|||||||
#if !defined(_EXT2_HAVE_ASM_FINDBIT_)
|
#if !defined(_EXT2_HAVE_ASM_FINDBIT_)
|
||||||
_INLINE_ int ext2fs_find_first_bit_set(void * addr, unsigned size)
|
_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;
|
int res = 0, d0;
|
||||||
|
|
||||||
if (!size)
|
if (!size)
|
||||||
|
Loading…
Reference in New Issue
Block a user