This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
328aef9
)
Cast needed to get POSIX compiling with g++ on FreeBSD.
author
Nicholas Clark
<nick@ccl4.org>
Tue, 10 Apr 2007 18:56:17 +0000
(18:56 +0000)
committer
Nicholas Clark
<nick@ccl4.org>
Tue, 10 Apr 2007 18:56:17 +0000
(18:56 +0000)
p4raw-id: //depot/perl@30898
ext/POSIX/POSIX.xs
patch
|
blob
|
blame
|
history
diff --git
a/ext/POSIX/POSIX.xs
b/ext/POSIX/POSIX.xs
index
207d02a
..
388a260
100644
(file)
--- 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: