projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
d6bcbf1
)
Add cast to malloc to calm cc when system headers decalre int malloc()
Perl 5 Porters [Wed, 3 Jul 1996 04:45:45 +0000 (
04:45
+0000)]
ext/DynaLoader/dlutils.c
patch
|
blob
|
blame
|
history
diff --git
a/ext/DynaLoader/dlutils.c
b/ext/DynaLoader/dlutils.c
index
67dea78
..
07ea332
100644
(file)
--- a/
ext/DynaLoader/dlutils.c
+++ b/
ext/DynaLoader/dlutils.c
@@
-75,7
+75,7
@@
SaveError(pat, va_alist)
if (LastError)
LastError = (char*)saferealloc(LastError, len) ;
else
- LastError = safemalloc(len) ;
+ LastError = (char *) safemalloc(len) ;
/* Copy message into LastError (including terminating null char) */
strncpy(LastError, message, len) ;