projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
328aef9
)
Cast needed to get POSIX compiling with g++ on FreeBSD.
Nicholas Clark [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: