projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge git://git.denx.de/u-boot-x86
[platform/kernel/u-boot.git]
/
include
/
fat.h
diff --git
a/include/fat.h
b/include/fat.h
index
7dada41
..
09e1423
100644
(file)
--- a/
include/fat.h
+++ b/
include/fat.h
@@
-180,7
+180,7
@@
static inline u32 clust_to_sect(fsdata *fsdata, u32 clust)
return fsdata->data_begin + clust * fsdata->clust_size;
}
-static inline u32 sect_to_clust(fsdata *fsdata,
u32
sect)
+static inline u32 sect_to_clust(fsdata *fsdata,
int
sect)
{
return (sect - fsdata->data_begin) / fsdata->clust_size;
}