From 20a825aed8356fe8953188d84bf75d70018340f9 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Wed, 7 Sep 2005 07:04:56 +0000 Subject: [PATCH] Fix warnings. --- e2fsprogs/ext2fs/res_gdt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e2fsprogs/ext2fs/res_gdt.c b/e2fsprogs/ext2fs/res_gdt.c index 8b4ddca6d..6a416b6df 100644 --- a/e2fsprogs/ext2fs/res_gdt.c +++ b/e2fsprogs/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, (void *)&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((void *)&dindir_buf); return retval; }