Changeset 2687 in MondoRescue


Ignore:
Timestamp:
Oct 8, 2010, 7:39:06 PM (14 years ago)
Author:
Bruno Cornec
Message:
  • Fix a cast issue
Location:
branches/2.2.9/mondo
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mondo/README

    r2614 r2687  
    6565
    6666This license was given to MondoRescue by the original author Hugo Rabson, and is
    67 continue its current maintainer Bruno Cornec.
     67continued by its current maintainer Bruno Cornec.
    6868
  • branches/2.2.9/mondo/src/mondoarchive/mondoarchive.c

    r2290 r2687  
    187187
    188188    printf("Initializing...\n");
    189     if (!(bkpinfo = malloc(sizeof(struct s_bkpinfo)))) {
     189    if (!(bkpinfo = (struct s_bkpinfo *)malloc(sizeof(struct s_bkpinfo)))) {
    190190        fatal_error("Cannot malloc bkpinfo");
    191191    }
Note: See TracChangeset for help on using the changeset viewer.