From 9b9a780f5a5823865f62f0c9fd194d262f63a06f Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Sat, 10 Dec 2005 21:50:30 -0500 Subject: Fix various gcc -Wall complaints. Signed-off-by: "Theodore Ts'o" --- lib/ext2fs/res_gdt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/ext2fs/res_gdt.c') 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; } -- cgit v1.2.3