summaryrefslogtreecommitdiff
path: root/ext/DynaLoader/dlutils.c
diff options
context:
space:
mode:
authorPerl 5 Porters <perl5-porters@africa.nicoh.com>1996-07-03 04:45:45 +0000
committerCharles Bailey <bailey@genetics.upenn.edu>1996-07-03 04:45:45 +0000
commit2e5d53bf7ae9b515d0331771711135ca77774a43 (patch)
tree6a5380566dbcbd509d3f6b682960bf8e263e7d92 /ext/DynaLoader/dlutils.c
parentd6bcbf1c78e6914b11d9eab7c9a121914d1ffd63 (diff)
downloadperl-2e5d53bf7ae9b515d0331771711135ca77774a43.tar.gz
Add cast to malloc to calm cc when system headers decalre int malloc()
Diffstat (limited to 'ext/DynaLoader/dlutils.c')
-rw-r--r--ext/DynaLoader/dlutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/DynaLoader/dlutils.c b/ext/DynaLoader/dlutils.c
index 67dea787cc..07ea3325b6 100644
--- 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) ;