diff options
author | Steve Peters <steve@fisharerojo.org> | 2006-08-16 17:44:44 +0000 |
---|---|---|
committer | Steve Peters <steve@fisharerojo.org> | 2006-08-16 17:44:44 +0000 |
commit | 7ec40f37ce4eb8552b6149cba97968e51cedac3a (patch) | |
tree | 17cd4fccec2d1e3b2db37392f5360d026b0d7d44 | |
parent | 87d46f97c572fcb76df491a3f99f2a7106164f04 (diff) | |
download | perl-7ec40f37ce4eb8552b6149cba97968e51cedac3a.tar.gz |
Cast needed to compile bsd_glob.c with C++
p4raw-id: //depot/perl@28730
-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 c1dbd2c093..4d1e7f0695 100644 --- a/ext/File/Glob/bsd_glob.c +++ b/ext/File/Glob/bsd_glob.c @@ -935,7 +935,7 @@ glob3(Char *pathbuf, Char *pathbuf_last, Char *pathend, Char *pathend_last, if (pglob->gl_flags & GLOB_ALTDIRFUNC) readdirfunc = (Direntry_t *(*)(DIR *))pglob->gl_readdir; else - readdirfunc = my_readdir; + readdirfunc = (Direntry_t *(*)(DIR *))my_readdir; while ((dp = (*readdirfunc)(dirp))) { register U8 *sc; register Char *dc; |