ext2fs_getmem(), ext2fs_free_mem(), and ext2fs_resize_mem() 
all now take a 'void *' instead of a 'void **' in order to 
avoid pointer aliasing problems with GCC 3.x.

diff --git a/lib/ext2fs/bmap.c b/lib/ext2fs/bmap.c
index 0fb56d6..45053dc 100644
--- a/lib/ext2fs/bmap.c
+++ b/lib/ext2fs/bmap.c
@@ -146,7 +146,7 @@
 	addr_per_block = (blk_t) fs->blocksize >> 2;
 
 	if (!block_buf) {
-		retval = ext2fs_get_mem(fs->blocksize * 2, (void **) &buf);
+		retval = ext2fs_get_mem(fs->blocksize * 2, &buf);
 		if (retval)
 			return retval;
 		block_buf = buf;
@@ -225,7 +225,7 @@
 				 &blocks_alloc, block, phys_blk);
 done:
 	if (buf)
-		ext2fs_free_mem((void **) &buf);
+		ext2fs_free_mem(&buf);
 	if ((retval == 0) && blocks_alloc) {
 		inode->i_blocks += (blocks_alloc * fs->blocksize) / 512;
 		retval = ext2fs_write_inode(fs, ino, inode);