summaryrefslogtreecommitdiff
path: root/vpath.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2004-02-24 13:50:19 +0000
committerPaul Smith <psmith@gnu.org>2004-02-24 13:50:19 +0000
commitf29b86c314e6e2b44a1eb83f1b44a3849d82655e (patch)
tree0e83f1ad4a44542b088878e8b9d6de48f16e949d /vpath.c
parentbe8c3dbc974c35fac33c8392b89482c10e4f8650 (diff)
downloadgunmake-f29b86c314e6e2b44a1eb83f1b44a3849d82655e.tar.gz
Many compiler warning cleanups.
Small fixes for W32 (from Jonathan Grant <jg-make@jguk.org>) Maintainer enhancements to clean up the tree.
Diffstat (limited to 'vpath.c')
-rw-r--r--vpath.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vpath.c b/vpath.c
index 7dae82d..458fb18 100644
--- a/vpath.c
+++ b/vpath.c
@@ -316,9 +316,9 @@ construct_vpath_list (char *pattern, char *dirpath)
in. If it is found, return 1. Otherwise we return 0. */
int
-gpath_search (char *file, int len)
+gpath_search (char *file, unsigned int len)
{
- register char **gp;
+ char **gp;
if (gpaths && (len <= gpaths->maxlen))
for (gp = gpaths->searchpath; *gp != NULL; ++gp)