Mercurial > yaffs-ecoscentric
changeset 184:14d97b52d375 pre_Ians_changes
Change blockState field from enum to unsigned because some compilers use ints for enums which would break here
| author | charles |
|---|---|
| date | Mon, 21 May 2007 01:36:17 +0100 |
| parents | 95de003f27dc |
| children | fa4e74c5013d |
| files | yaffs_guts.h |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/yaffs_guts.h +++ b/yaffs_guts.h @@ -271,7 +271,7 @@ typedef struct { int softDeletions:10; /* number of soft deleted pages */ int pagesInUse:10; /* number of pages in use */ - yaffs_BlockState blockState:4; /* One of the above block states */ + __u32 blockState:4; /* One of the above block states. NB use unsigned because enum is sometimes an int */ __u32 needsRetiring:1; /* Data has failed on this block, need to get valid data off */ /* and retire the block. */ __u32 skipErasedCheck: 1; /* If this is set we can skip the erased check on this block */
