diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2003-12-28 13:04:35 +0100 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2003-12-28 13:04:35 +0100 |
commit | b969b1b8a5c13992cadb026114731958644540d8 (patch) | |
tree | 24a4193043326c3d4ca8d3dd4183d3e445ae8163 /tests/progs | |
parent | 151a71620d99a6b93ee8817e78ef4ca6eb229340 (diff) | |
download | e2fsprogs-b969b1b8a5c13992cadb026114731958644540d8.tar.gz |
Fix more compiler warnings.
Diffstat (limited to 'tests/progs')
-rw-r--r-- | tests/progs/test_icount.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/progs/test_icount.c b/tests/progs/test_icount.c index 7a364fcc..9df7cb67 100644 --- a/tests/progs/test_icount.c +++ b/tests/progs/test_icount.c @@ -211,11 +211,11 @@ void do_dump(int argc, char **argv) retval = ext2fs_icount_fetch(test_icount, i, &count); if (retval) { com_err(argv[0], retval, - "while fetching icount for %lu", i); + "while fetching icount for %lu", (unsigned long)i); return; } if (count) - printf("%lu: %u\n", i, count); + printf("%lu: %u\n", (unsigned long)i, count); } } @@ -236,11 +236,11 @@ void do_validate(int argc, char **argv) void do_get_size(int argc, char **argv) { ext2_ino_t size; - + if (check_icount(argv[0])) return; size = ext2fs_get_icount_size(test_icount); - printf("Size of icount is: %lu\n", size); + printf("Size of icount is: %lu\n", (unsigned long)size); } static int source_file(const char *cmd_file, int sci_idx) |