archivers/mvl.c
changeset 564 ce114ffdf485
parent 553 4338d9c0bbcd
child 648 5c993684b8f2
child 927 8867d6c60ebf
equal deleted inserted replaced
563:b335449def59 564:ce114ffdf485
   286 {
   286 {
   287     void *fh = NULL;
   287     void *fh = NULL;
   288     PHYSFS_uint32 fileCount;
   288     PHYSFS_uint32 fileCount;
   289     PHYSFS_uint32 location = 8;  /* sizeof sig. */
   289     PHYSFS_uint32 location = 8;  /* sizeof sig. */
   290     MVLentry *entry;
   290     MVLentry *entry;
   291     char *ptr;
       
   292 
   291 
   293     BAIL_IF_MACRO(!mvl_open(name, forWriting, &fh, &fileCount), NULL, 0);
   292     BAIL_IF_MACRO(!mvl_open(name, forWriting, &fh, &fileCount), NULL, 0);
   294     info->entryCount = fileCount;
   293     info->entryCount = fileCount;
   295     info->entries = (MVLentry *) malloc(sizeof (MVLentry) * fileCount);
   294     info->entries = (MVLentry *) malloc(sizeof (MVLentry) * fileCount);
   296     if (info->entries == NULL)
   295     if (info->entries == NULL)