summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-04-10 18:56:17 +0000
committerNicholas Clark <nick@ccl4.org>2007-04-10 18:56:17 +0000
commite02b91128a20d30213f621b1a24c2fecc2033e4a (patch)
treea645120894ff4dabb411a6a162c2be97f7e2721c /ext
parent328aef96c192c44093e580ff7a2614137052ba36 (diff)
downloadperl-e02b91128a20d30213f621b1a24c2fecc2033e4a.tar.gz
Cast needed to get POSIX compiling with g++ on FreeBSD.
p4raw-id: //depot/perl@30898
Diffstat (limited to 'ext')
-rw-r--r--ext/POSIX/POSIX.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs
index 207d02a3f7..388a260244 100644
--- a/ext/POSIX/POSIX.xs
+++ b/ext/POSIX/POSIX.xs
@@ -1853,7 +1853,7 @@ ctermid(s = 0)
char * s = 0;
CODE:
#ifdef HAS_CTERMID_R
- s = safemalloc((size_t) L_ctermid);
+ s = (char *) safemalloc((size_t) L_ctermid);
#endif
RETVAL = ctermid(s);
OUTPUT: