Thu May 9 13:54:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
authorRoland McGrath <roland@redhat.com>
Thu, 9 May 1996 18:28:09 +0000 (18:28 +0000)
committerRoland McGrath <roland@redhat.com>
Thu, 9 May 1996 18:28:09 +0000 (18:28 +0000)
* read.c (parse_file_seq): Use `int' for char arg to avoid widening
conflict issues.
* dep.h: Fix prototype.

dep.h
read.c

diff --git a/dep.h b/dep.h
index 550c68a..fa3e073 100644 (file)
--- a/dep.h
+++ b/dep.h
@@ -1,5 +1,5 @@
 /* Definitions of dependency data structures for GNU Make.
-Copyright (C) 1988, 1989, 1991, 1992, 1993 Free Software Foundation, Inc.
+Copyright (C) 1988, 1989, 1991, 1992, 1993, 1996 Free Software Foundation, Inc.
 This file is part of GNU Make.
 
 GNU Make is free software; you can redistribute it and/or modify
@@ -44,7 +44,7 @@ extern struct nameseq *multi_glob PARAMS ((struct nameseq *chain, unsigned int s
 #ifdef VMS
 extern struct nameseq *parse_file_seq ();
 #else
-extern struct nameseq *parse_file_seq PARAMS ((char **stringp, char stopchar, unsigned int size, int strip));
+extern struct nameseq *parse_file_seq PARAMS ((char **stringp, int stopchar, unsigned int size, int strip));
 #endif
 extern char *tilde_expand PARAMS ((char *name));
 
diff --git a/read.c b/read.c
index db35e10..8d42aa8 100644 (file)
--- a/read.c
+++ b/read.c
@@ -1544,7 +1544,7 @@ find_percent (pattern)
 struct nameseq *
 parse_file_seq (stringp, stopchar, size, strip)
      char **stringp;
-     char stopchar;
+     int stopchar;
      unsigned int size;
      int strip;
 {