diff options
author | Perl 5 Porters <perl5-porters@africa.nicoh.com> | 1996-07-03 04:45:45 +0000 |
---|---|---|
committer | Charles Bailey <bailey@genetics.upenn.edu> | 1996-07-03 04:45:45 +0000 |
commit | 2e5d53bf7ae9b515d0331771711135ca77774a43 (patch) | |
tree | 6a5380566dbcbd509d3f6b682960bf8e263e7d92 | |
parent | d6bcbf1c78e6914b11d9eab7c9a121914d1ffd63 (diff) | |
download | perl-2e5d53bf7ae9b515d0331771711135ca77774a43.tar.gz |
Add cast to malloc to calm cc when system headers decalre int malloc()
-rw-r--r-- | ext/DynaLoader/dlutils.c | 2 |
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) ; |