Changeset 1102 in MondoRescue for branches/stable/mondo/src/mondorestore/mondo-rstr-tools.c
- Timestamp:
- Feb 6, 2007, 12:49:19 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/mondorestore/mondo-rstr-tools.c
r1087 r1102 485 485 malloc_string(these_failed); 486 486 assert(p_external_copy_of_mountlist != NULL); 487 mountlist = mr_malloc(sizeof(struct mountlist_itself));487 mountlist = (struct mountlist_itself *)mr_malloc(sizeof(struct mountlist_itself)); 488 488 memcpy((void *) mountlist, (void *) p_external_copy_of_mountlist, 489 489 sizeof(struct mountlist_itself)); … … 2094 2094 assert(p_external_copy_of_mountlist != NULL); 2095 2095 2096 mountlist = mr_malloc(sizeof(struct mountlist_itself));2096 mountlist = (struct mountlist_itself *)mr_malloc(sizeof(struct mountlist_itself)); 2097 2097 memcpy((void *) mountlist, (void *) p_external_copy_of_mountlist, 2098 2098 sizeof(struct mountlist_itself)); … … 2521 2521 2522 2522 malloc_string(screen_message); 2523 raidlist = mr_malloc(sizeof(struct raidlist_itself));2523 raidlist = (struct raidlist_itself *)mr_malloc(sizeof(struct raidlist_itself)); 2524 2524 2525 2525 assert(wait_for_percentage <= 100);
Note:
See TracChangeset
for help on using the changeset viewer.