diff options
author | Jonathan Stowe <gellyfish@gellyfish.com> | 2001-04-01 11:04:55 +0100 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-04-01 19:53:47 +0000 |
commit | 3fcf1688d7dab5cc2430127221a7bc4cc93ed344 (patch) | |
tree | fd326a62863263161ac5f9441a94b9c4168c60cd /ext/File | |
parent | 67c03fbbd283fe968946e3e3687ed2f60f8cc86a (diff) | |
download | perl-3fcf1688d7dab5cc2430127221a7bc4cc93ed344.tar.gz |
[PATH bsd_glob.c perl@9472] Shut up gcc warning in bsd_glob.c
Message-ID: <Pine.LNX.4.30.0104010958250.7703-100000@orpheus.gellyfish.com>
p4raw-id: //depot/perl@9509
Diffstat (limited to 'ext/File')
-rw-r--r-- | ext/File/Glob/bsd_glob.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/File/Glob/bsd_glob.c b/ext/File/Glob/bsd_glob.c index 1a12ddfaa8..15ee659c85 100644 --- a/ext/File/Glob/bsd_glob.c +++ b/ext/File/Glob/bsd_glob.c @@ -710,7 +710,7 @@ glob3(Char *pathbuf, Char *pathend, Char *pattern, /* Search directory for matching names. */ if (pglob->gl_flags & GLOB_ALTDIRFUNC) - readdirfunc = pglob->gl_readdir; + readdirfunc = (Direntry_t *(*)(DIR *))pglob->gl_readdir; else readdirfunc = my_readdir; while ((dp = (*readdirfunc)(dirp))) { |