X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_packedtags1.c;fp=yaffs_packedtags1.c;h=873f06520b0322782aaad2a4678bf4d039681894;hp=a77f0954fc135a3440c70918a616925551c098a5;hb=46eb953ecab322d3385ccf84c75d969de8542317;hpb=05f5305b2d17b0e2889338724b864cf80f309437 diff --git a/yaffs_packedtags1.c b/yaffs_packedtags1.c index a77f095..873f065 100644 --- a/yaffs_packedtags1.c +++ b/yaffs_packedtags1.c @@ -25,15 +25,15 @@ void yaffs_pack_tags1(struct yaffs_packed_tags1 *pt, pt->deleted = (t->is_deleted) ? 0 : 1; pt->unused_stuff = 0; pt->should_be_ff = 0xFFFFFFFF; - } void yaffs_unpack_tags1(struct yaffs_ext_tags *t, const struct yaffs_packed_tags1 *pt) { - static const u8 all_ff[] = - { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, - 0xff + static const u8 all_ff[12] = { + 0xff, 0xff, 0xff, 0xff, + 0xff, 0xff, 0xff, 0xff, + 0xff, 0xff, 0xff, 0xff }; if (memcmp(all_ff, pt, sizeof(struct yaffs_packed_tags1))) {