summaryrefslogtreecommitdiff
path: root/lib/ext2fs/res_gdt.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2005-12-10 21:50:30 -0500
committerTheodore Ts'o <tytso@mit.edu>2005-12-10 21:50:30 -0500
commit9b9a780f5a5823865f62f0c9fd194d262f63a06f (patch)
tree9cf96489ddfc5de1c9a36ec0b20e0f62dcb73be7 /lib/ext2fs/res_gdt.c
parentbc47952f10ff5ed2c61536f2713d54b6807795cd (diff)
downloade2fsprogs-9b9a780f5a5823865f62f0c9fd194d262f63a06f.tar.gz
Fix various gcc -Wall complaints.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'lib/ext2fs/res_gdt.c')
-rw-r--r--lib/ext2fs/res_gdt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ext2fs/res_gdt.c b/lib/ext2fs/res_gdt.c
index c03f1da0..9901c6e6 100644
--- a/lib/ext2fs/res_gdt.c
+++ b/lib/ext2fs/res_gdt.c
@@ -73,7 +73,7 @@ errcode_t ext2fs_create_resize_inode(ext2_filsys fs)
sb = fs->super;
- retval = ext2fs_get_mem(2 * fs->blocksize, (void **)&dindir_buf);
+ retval = ext2fs_get_mem(2 * fs->blocksize, &dindir_buf);
if (retval)
goto out_free;
gdt_buf = (__u32 *)((char *)dindir_buf + fs->blocksize);
@@ -214,7 +214,7 @@ out_inode:
retval = retval2;
}
out_free:
- ext2fs_free_mem((void **)&dindir_buf);
+ ext2fs_free_mem(&dindir_buf);
return retval;
}