summaryrefslogtreecommitdiff
path: root/e2fsprogs
diff options
context:
space:
mode:
authorRob Landley2005-09-07 07:04:56 +0000
committerRob Landley2005-09-07 07:04:56 +0000
commit20a825aed8356fe8953188d84bf75d70018340f9 (patch)
tree38d0c38cbbfb78e45e878c34888e40868ce7a9c9 /e2fsprogs
parent90ca6b2878bacfb9a92742aa54255295aa25cf6f (diff)
downloadbusybox-20a825aed8356fe8953188d84bf75d70018340f9.zip
busybox-20a825aed8356fe8953188d84bf75d70018340f9.tar.gz
Fix warnings.
Diffstat (limited to 'e2fsprogs')
-rw-r--r--e2fsprogs/ext2fs/res_gdt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/e2fsprogs/ext2fs/res_gdt.c b/e2fsprogs/ext2fs/res_gdt.c
index 8b4ddca..6a416b6 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;
}