Ignore:
Timestamp:
Feb 6, 2007, 12:49:19 AM (17 years ago)
Author:
Bruno Cornec
Message:

Other compiler warnings removed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/mondorestore/mondo-rstr-tools.c

    r1087 r1102  
    485485    malloc_string(these_failed);
    486486    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));
    488488    memcpy((void *) mountlist, (void *) p_external_copy_of_mountlist,
    489489           sizeof(struct mountlist_itself));
     
    20942094    assert(p_external_copy_of_mountlist != NULL);
    20952095
    2096     mountlist = mr_malloc(sizeof(struct mountlist_itself));
     2096    mountlist = (struct mountlist_itself *)mr_malloc(sizeof(struct mountlist_itself));
    20972097    memcpy((void *) mountlist, (void *) p_external_copy_of_mountlist,
    20982098           sizeof(struct mountlist_itself));
     
    25212521
    25222522    malloc_string(screen_message);
    2523     raidlist = mr_malloc(sizeof(struct raidlist_itself));
     2523    raidlist = (struct raidlist_itself *)mr_malloc(sizeof(struct raidlist_itself));
    25242524
    25252525    assert(wait_for_percentage <= 100);
Note: See TracChangeset for help on using the changeset viewer.