Changeset 402 in MondoRescue for branches/stable/mondo/mondo/common/my-stuff.h


Ignore:
Timestamp:
Feb 17, 2006, 7:05:06 PM (18 years ago)
Author:
bcornec
Message:
  • RPM build for mondo doc recoded
  • Tag for documentation, man pages
  • Include a patch from SuSE RPMs for mondo
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/mondo/common/my-stuff.h

    r296 r402  
    443443 * Malloc @p x to be MAX_STR_LEN bytes and call fatal_error() if we're out of memory.
    444444 */
    445 #define malloc_string(x) { x = malloc(MAX_STR_LEN); if (!x) { fatal_error("Unable to malloc"); } x[0] = x[1] = '\0'; }
     445#define malloc_string(x) { x = (char *)malloc(MAX_STR_LEN); if (!x) { fatal_error("Unable to malloc"); } x[0] = x[1] = '\0'; }
    446446
    447447/**
Note: See TracChangeset for help on using the changeset viewer.