X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_packedtags1.h;h=aef36d9104793254d9c983dfdcc4716f1b507154;hp=d6861ff505e45701e7edce4a354d66b25220b6a3;hb=9a6f486e56f927eeb8dc7e4e0d84f6bb95eeaa0f;hpb=5409719091c79983abc45bcc3070bce6786c8278 diff --git a/yaffs_packedtags1.h b/yaffs_packedtags1.h index d6861ff..aef36d9 100644 --- a/yaffs_packedtags1.h +++ b/yaffs_packedtags1.h @@ -1,8 +1,7 @@ /* * YAFFS: Yet another Flash File System . A NAND-flash specific file system. * - * Copyright (C) 2002-2010 Aleph One Ltd. - * for Toby Churchill Ltd and Brightstar Engineering + * Copyright (C) 2002-2018 Aleph One Ltd. * * Created by Charles Manning * @@ -21,13 +20,13 @@ #include "yaffs_guts.h" struct yaffs_packed_tags1 { - unsigned chunk_id:20; - unsigned serial_number:2; - unsigned n_bytes:10; - unsigned obj_id:18; - unsigned ecc:12; - unsigned deleted:1; - unsigned unused_stuff:1; + u32 chunk_id:20; + u32 serial_number:2; + u32 n_bytes:10; + u32 obj_id:18; + u32 ecc:12; + u32 deleted:1; + u32 unused_stuff:1; unsigned should_be_ff; };