summaryrefslogtreecommitdiff
path: root/vpath.c
diff options
context:
space:
mode:
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)