diff options
author | Nicholas Clark <nick@ccl4.org> | 2007-04-10 18:56:17 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2007-04-10 18:56:17 +0000 |
commit | e02b91128a20d30213f621b1a24c2fecc2033e4a (patch) | |
tree | a645120894ff4dabb411a6a162c2be97f7e2721c /ext | |
parent | 328aef96c192c44093e580ff7a2614137052ba36 (diff) | |
download | perl-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.xs | 2 |
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: |