From 9a3666d550583ccc8320b784cb03e5197a803406 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 25 Jul 1994 22:09:25 +0000 Subject: [PATCH] (set_file_variables): Add parens in length computation in .SUFFIXES dep loop to quiet compiler warning. From Jim Meyering. --- commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands.c b/commands.c index 39673027..266bdea8 100644 --- a/commands.c +++ b/commands.c @@ -87,7 +87,7 @@ set_file_variables (file) for (d = enter_file (".SUFFIXES")->deps; d != 0; d = d->next) { unsigned int slen = strlen (dep_name (d)); - if (len > slen && !strncmp (dep_name (d), name + len - slen, slen)) + if (len > slen && !strncmp (dep_name (d), name + (len - slen), slen)) { file->stem = savestring (name, len - slen); break;