summaryrefslogtreecommitdiff
path: root/default.c
diff options
context:
space:
mode:
Diffstat (limited to 'default.c')
-rw-r--r--default.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/default.c b/default.c
index 86f719a..ada0a8a 100644
--- a/default.c
+++ b/default.c
@@ -555,7 +555,7 @@ install_default_suffix_rules (void)
/* Don't clobber cmds given in a makefile if there were any. */
if (f->cmds == 0)
{
- f->cmds = (struct commands *) xmalloc (sizeof (struct commands));
+ f->cmds = xmalloc (sizeof (struct commands));
f->cmds->fileinfo.filenm = 0;
f->cmds->commands = s[1];
f->cmds->command_lines = 0;