Author: uwe Date: 2008-10-18 22:29:55 +0200 (Sat, 18 Oct 2008) New Revision: 82
Modified: trunk/filo/fs/fsys_fat.c Log: Fix warnings (trivial).
Signed-off-by: Uwe Hermann uwe@hermann-uwe.de Acked-by: Uwe Hermann uwe@hermann-uwe.de
Modified: trunk/filo/fs/fsys_fat.c =================================================================== --- trunk/filo/fs/fsys_fat.c 2008-10-09 20:36:19 UTC (rev 81) +++ trunk/filo/fs/fsys_fat.c 2008-10-18 20:29:55 UTC (rev 82) @@ -99,9 +99,9 @@ / bpb.sects_per_clust); FAT_SUPER->sects_per_clust = bpb.sects_per_clust;
- if (strncmp(bpb.extended.fat16.type, "FAT12", 5) && - strncmp(bpb.extended.fat16.type, "FAT16", 5) && - strncmp(bpb.extended.fat32.type, "FAT32", 5)) + if (strncmp((const char *)bpb.extended.fat16.type, "FAT12", 5) && + strncmp((const char *)bpb.extended.fat16.type, "FAT16", 5) && + strncmp((const char *)bpb.extended.fat32.type, "FAT32", 5)) { /* None of them matched. Bail out */ return 0;