diff options
author | Bojan Smojver <bojan@apache.org> | 2008-06-18 04:58:40 +0000 |
---|---|---|
committer | Bojan Smojver <bojan@apache.org> | 2008-06-18 04:58:40 +0000 |
commit | 01f1e208dddd56df23022067b05b0b2e423364f2 (patch) | |
tree | 928d7367a5f2c7c6b38b48cdb3ec70283ba5ba34 /dso/unix | |
parent | 52de3c5c843b02b29dec67f8e42d2c1b0b9b9b2b (diff) | |
download | apr-01f1e208dddd56df23022067b05b0b2e423364f2.tar.gz |
Avoid strict aliasing warnings on HP-UX.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@669082 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'dso/unix')
-rw-r--r-- | dso/unix/dso.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dso/unix/dso.c b/dso/unix/dso.c index e3baf72ce..fdd56f1d3 100644 --- a/dso/unix/dso.c +++ b/dso/unix/dso.c @@ -178,9 +178,9 @@ APR_DECLARE(apr_status_t) apr_dso_sym(apr_dso_handle_sym_t *ressym, int status; errno = 0; - status = shl_findsym((shl_t *)&handle->handle, symname, TYPE_PROCEDURE, &symaddr); + status = shl_findsym((void *)&handle->handle, symname, TYPE_PROCEDURE, &symaddr); if (status == -1 && errno == 0) /* try TYPE_DATA instead */ - status = shl_findsym((shl_t *)&handle->handle, symname, TYPE_DATA, &symaddr); + status = shl_findsym((void *)&handle->handle, symname, TYPE_DATA, &symaddr); if (status == -1) return APR_ESYMNOTFOUND; *ressym = symaddr; |