~csurbhi/ubuntu/maverick/e2fsprogs/e2fsprogs.fix-505719

« back to all changes in this revision

Viewing changes to lib/ext2fs/rs_bitmap.c

  • Committer: Bazaar Package Importer
  • Author(s): Matt Zimmerman
  • Date: 2004-09-19 09:43:14 UTC
  • mto: (8.1.1 lenny) (1.2.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20040919094314-2tafd19i76fhu6ei
Tags: upstream-1.35
ImportĀ upstreamĀ versionĀ 1.35

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
        new_size = ((new_real_end - bmap->start) / 8) + 1;
59
59
 
60
60
        if (size != new_size) {
61
 
                retval = ext2fs_resize_mem(size, new_size,
62
 
                                           (void **) &bmap->bitmap);
 
61
                retval = ext2fs_resize_mem(size, new_size, &bmap->bitmap);
63
62
                if (retval)
64
63
                        return retval;
65
64
        }