summaryrefslogtreecommitdiff
path: root/libltdl
diff options
context:
space:
mode:
authorJohn David Anglin <dave.anglin@nrc.ca>1999-04-12 19:02:18 +0000
committerAlexandre Oliva <aoliva@redhat.com>1999-04-12 19:02:18 +0000
commitb6e26ad6dd756bce89909d685dcaecff3b68ec97 (patch)
treeaaf09e5ca1e1972e69deb9f1da5e87a1ec3b345c /libltdl
parent4b0ee5c0326229d170e0d59edd72f3ea22240ffb (diff)
downloadlibtool-b6e26ad6dd756bce89909d685dcaecff3b68ec97.tar.gz
* libltdl/ltdl.c (shl_close): shl_t was correct here...
(shl_sym): ... but we have to pass the handle by reference here.
Diffstat (limited to 'libltdl')
-rw-r--r--libltdl/ltdl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libltdl/ltdl.c b/libltdl/ltdl.c
index 00e94450..6b504fcd 100644
--- a/libltdl/ltdl.c
+++ b/libltdl/ltdl.c
@@ -392,7 +392,7 @@ static int
shl_close (handle)
lt_dlhandle handle;
{
- if (shl_unload((shl_t*) (handle->handle)) != 0) {
+ if (shl_unload((shl_t) (handle->handle)) != 0) {
last_error = cannot_close_error;
return 1;
}
@@ -406,7 +406,7 @@ shl_sym (handle, symbol)
{
lt_ptr_t address;
- if (handle->handle && shl_findsym((shl_t*) (handle->handle),
+ if (handle->handle && shl_findsym((shl_t*) &(handle->handle),
symbol, TYPE_UNDEFINED, &address) == 0)
if (address)
return address;