X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=yaffs_summary.c;h=07fa52617fa9067865becc94fa384015ff9354aa;hb=b295567b94e6d4014938e42e978306a13b330bb3;hp=e9e1b5d85776939c20e37e272343c9eb44f1bf1a;hpb=bdb04f601934f804c982cbd1ae6add208c96732b;p=yaffs2.git diff --git a/yaffs_summary.c b/yaffs_summary.c index e9e1b5d..07fa526 100644 --- a/yaffs_summary.c +++ b/yaffs_summary.c @@ -183,7 +183,7 @@ int yaffs_summary_read(struct yaffs_dev *dev, u8 *buffer; u8 *sum_buffer = (u8 *)st; int n_bytes; - int chunk_id; + u32 chunk_id; int chunk_in_nand; int chunk_in_block; int result; @@ -292,7 +292,7 @@ int yaffs_summary_fetch(struct yaffs_dev *dev, void yaffs_summary_gc(struct yaffs_dev *dev, int blk) { struct yaffs_block_info *bi = yaffs_get_block_info(dev, blk); - int i; + u32 i; if (!bi->has_summary) return;