diff options
-rw-r--r-- | e2fsprogs/ext2fs/res_gdt.c | 4 |
1 files 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; } |