From 9b6d1b0508c3d0e664281883a8ac8e79bb440a8f Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Mon, 19 Jul 2010 07:10:53 +0000 Subject: - Many fixup patches from Savannah. - Fix the test suite on Solaris (from Boris) - Update the manual for .ONESHELL --- rule.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'rule.c') diff --git a/rule.c b/rule.c index 0e6ddb7f..a966cc99 100644 --- a/rule.c +++ b/rule.c @@ -404,8 +404,9 @@ freerule (struct rule *rule, struct rule *lastrule) free_dep_chain (rule->deps); - free (rule->targets); - free (rule->suffixes); + /* MSVC erroneously warns without a cast here. */ + free ((void *)rule->targets); + free ((void *)rule->suffixes); free (rule->lens); /* We can't free the storage for the commands because there -- cgit v1.2.1