return (NULL);
sz = strlen (orig) + 1;
- dest = (char *) malloc (sz);
+ dest = malloc (sz);
if (dest == NULL)
return (NULL);
{
meta_entry_t *e;
- e = (meta_entry_t *) malloc (sizeof (*e));
+ e = malloc (sizeof (*e));
if (e == NULL)
{
ERROR ("md_entry_alloc: malloc failed.");
{
meta_data_t *md;
- md = (meta_data_t *) malloc (sizeof (*md));
+ md = malloc (sizeof (*md));
if (md == NULL)
{
ERROR ("meta_data_create: malloc failed.");