projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Cleanup for GCC-4.x
[oweals/u-boot.git]
/
fs
/
fat
/
fat.c
diff --git
a/fs/fat/fat.c
b/fs/fat/fat.c
index 1a40a700c47abbc6335eda263690c0c9bc9ecf82..a823b5aba4089a1160480fc8f4e6b1961836b932 100644
(file)
--- 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;