Fix broken comment
[yaffs2.git] / yaffs_yaffs2.c
index d580f72e3f4ec42d593eaca876e0a36c056e97b8..f1dc972276f78091b14a45e4ecfd54d1c406a5b1 100644 (file)
@@ -836,7 +836,7 @@ int yaffs2_handle_hole(struct yaffs_obj *obj, loff_t new_size)
         * of hole marker.
         */
        loff_t old_file_size;
-       int increase;
+       loff_t increase;
        int small_hole;
        int result = YAFFS_OK;
        struct yaffs_dev *dev = NULL;
@@ -1473,7 +1473,7 @@ int yaffs2_scan_backwards(struct yaffs_dev *dev)
 
                /* For each chunk in each block that needs scanning.... */
                found_chunks = 0;
-               if(summary_available)
+               if (summary_available)
                        c = dev->chunks_per_summary - 1;
                else
                        c = dev->param.chunks_per_block - 1;