diff --git a/src/target_replace.c b/src/target_replace.c
index bd8f9e5c51d443650545bc94325fe53df25233e3..2166746c1246e99657739856994edc8286fbd083 100644 (file)
--- a/src/target_replace.c
+++ b/src/target_replace.c
return (NULL);
sz = strlen (orig) + 1;
- dest = (char *) malloc (sz);
+ dest = malloc (sz);
if (dest == NULL)
return (NULL);
return (-1);
}
- act = (tr_action_t *) malloc (sizeof (*act));
+ act = malloc (sizeof (*act));
if (act == NULL)
{
ERROR ("tr_config_add_action: malloc failed.");
int status;
int i;
- data = (tr_data_t *) malloc (sizeof (*data));
+ data = malloc (sizeof (*data));
if (data == NULL)
{
ERROR ("tr_create: malloc failed.");