ChangeLog, test_icount.c, test_icount.h:
test_icount.h (do_dump, do_validate): Add prototypes to fix -Wall
warnings.
test_icount.c: Fix -Wall warnings.
ChangeLog, extent.c, main.c:
extent.c (extent_cmp): Add const to cast to prevent -Wall warning.
main.c (check_mount): Rename function argument to prevent -Wall
warning.
diff --git a/resize/extent.c b/resize/extent.c
index b51e653..56fb62a 100644
--- a/resize/extent.c
+++ b/resize/extent.c
@@ -124,8 +124,8 @@
const struct ext2_extent_entry *db_a;
const struct ext2_extent_entry *db_b;
- db_a = (struct ext2_extent_entry *) a;
- db_b = (struct ext2_extent_entry *) b;
+ db_a = (const struct ext2_extent_entry *) a;
+ db_b = (const struct ext2_extent_entry *) b;
return (db_a->old_loc - db_b->old_loc);
}