diff options
author | Roland McGrath <roland@redhat.com> | 1994-07-25 22:09:25 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1994-07-25 22:09:25 +0000 |
commit | 9a3666d550583ccc8320b784cb03e5197a803406 (patch) | |
tree | 249854cc0ef556739a080244cc39b1a1c1c7728c /commands.c | |
parent | 90dffad2cce31e3f83ecac11ebe4b7b5bfd857ca (diff) | |
download | gunmake-9a3666d550583ccc8320b784cb03e5197a803406.tar.gz |
(set_file_variables): Add parens in length computation in .SUFFIXES dep
loop to quiet compiler warning. From Jim Meyering.
Diffstat (limited to 'commands.c')
-rw-r--r-- | commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |