summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2006-08-16 17:44:44 +0000
committerSteve Peters <steve@fisharerojo.org>2006-08-16 17:44:44 +0000
commit7ec40f37ce4eb8552b6149cba97968e51cedac3a (patch)
tree17cd4fccec2d1e3b2db37392f5360d026b0d7d44
parent87d46f97c572fcb76df491a3f99f2a7106164f04 (diff)
downloadperl-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.c2
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;