From fba20a776da6d4a36db21d9b21e9e937bef00ac3 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 0e6ddb7..a966cc9 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.3