aboutsummaryrefslogtreecommitdiff
path: root/posix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-04-20 08:54:33 +0000
committerUlrich Drepper <drepper@redhat.com>1999-04-20 08:54:33 +0000
commit4ad1f0260501cf6e0ed1df1e888201a72f807ed6 (patch)
tree65681574d31157cdb3e3c55e8503489fd9d45c19 /posix
parenta3ab859c9cb6477553532dbc204c3748a4afcdfa (diff)
downloadglibc-4ad1f0260501cf6e0ed1df1e888201a72f807ed6.zip
glibc-4ad1f0260501cf6e0ed1df1e888201a72f807ed6.tar.gz
glibc-4ad1f0260501cf6e0ed1df1e888201a72f807ed6.tar.bz2
Update.
1999-04-20 Andreas Jaeger <aj@arthur.rhein-neckar.de> * posix/wordexp.c (parse_param): Fix type of offset to allow it to be used correctly as parameter for parse_dollars/parse_tilde.
Diffstat (limited to 'posix')
-rw-r--r--posix/wordexp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/posix/wordexp.c b/posix/wordexp.c
index aa5b94c..c43d608 100644
--- a/posix/wordexp.c
+++ b/posix/wordexp.c
@@ -1,5 +1,5 @@
/* POSIX.2 wordexp implementation.
- Copyright (C) 1997, 1998 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Tim Waugh <tim@cyberelk.demon.co.uk>.
@@ -1446,7 +1446,7 @@ envsubst:
expanded = w_newword (&exp_len, &exp_maxl);
for (p = pattern; p && *p; p++)
{
- int offset;
+ size_t offset;
switch (*p)
{