svn commit: trunk/busybox/e2fsprogs/ext2fs

landley at busybox.net landley at busybox.net
Wed Sep 7 07:04:57 UTC 2005


Author: landley
Date: 2005-09-07 00:04:56 -0700 (Wed, 07 Sep 2005)
New Revision: 11349

Log:
Fix warnings.


Modified:
   trunk/busybox/e2fsprogs/ext2fs/res_gdt.c


Changeset:
Modified: trunk/busybox/e2fsprogs/ext2fs/res_gdt.c
===================================================================
--- trunk/busybox/e2fsprogs/ext2fs/res_gdt.c	2005-09-07 06:39:02 UTC (rev 11348)
+++ trunk/busybox/e2fsprogs/ext2fs/res_gdt.c	2005-09-07 07:04:56 UTC (rev 11349)
@@ -73,7 +73,7 @@
 
 	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 @@
 			retval = retval2;
 	}
 out_free:
-	ext2fs_free_mem((void **)&dindir_buf);
+	ext2fs_free_mem((void *)&dindir_buf);
 	return retval;
 }
 




More information about the busybox-cvs mailing list