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:
7fcb36d
)
HP-UX dynaloading uses shl_t, not void ptr.
author
Jarkko Hietaniemi
<jhi@iki.fi>
Thu, 27 Nov 2014 15:32:13 +0000
(10:32 -0500)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Thu, 27 Nov 2014 16:21:28 +0000
(11:21 -0500)
ext/DynaLoader/dl_hpux.xs
patch
|
blob
|
blame
|
history
diff --git
a/ext/DynaLoader/dl_hpux.xs
b/ext/DynaLoader/dl_hpux.xs
index
9003b9a
..
70bedb8
100644
(file)
--- a/
ext/DynaLoader/dl_hpux.xs
+++ b/
ext/DynaLoader/dl_hpux.xs
@@
-108,7
+108,7
@@
dl_unload_file(libref)
void * libref
CODE:
DLDEBUG(1,PerlIO_printf(Perl_debug_log, "dl_unload_file(%lx):\n", PTR2ul(libref)));
- RETVAL = (shl_unload(libref) == 0 ? 1 : 0);
+ RETVAL = (shl_unload(
(shl_t)
libref) == 0 ? 1 : 0);
if (!RETVAL)
SaveError(aTHX_ "%s", Strerror(errno));
DLDEBUG(2,PerlIO_printf(Perl_debug_log, " retval = %d\n", RETVAL));