diff options
Diffstat (limited to 'fs/fat/fat.c')
| -rw-r--r-- | fs/fat/fat.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/fs/fat/fat.c b/fs/fat/fat.c index 1a40a700c..a823b5aba 100644 --- a/fs/fat/fat.c +++ b/fs/fat/fat.c @@ -83,7 +83,7 @@ fat_register_device(block_dev_desc_t *dev_desc, int part_no)  		/* no signature found */  		return -1;  	} -	if(!strncmp(&buffer[DOS_FS_TYPE_OFFSET],"FAT",3)) { +	if(!strncmp((char *)&buffer[DOS_FS_TYPE_OFFSET],"FAT",3)) {  		/* ok, we assume we are on a PBR only */  		cur_part = 1;  		part_offset=0; |