[coreboot] r82 - trunk/filo/fs
svn at coreboot.org
svn at coreboot.org
Sat Oct 18 22:29:55 CEST 2008
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 at hermann-uwe.de>
Acked-by: Uwe Hermann <uwe at 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;
More information about the coreboot
mailing list