aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Esilevich <aesilevich@pathscale.com>2014-05-09 01:35:39 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-05-09 01:35:39 +0000
commit1a363fb6e4d6e0381b387cef48b27e105af5c34e (patch)
treebf31fe4e0e513396900a4fb16033a46c91daa8ec
parent616b03e3d90f0ad63b1cc61277df2b39870101d4 (diff)
parent2f150a6c49f53dc1dbdd708ea96be1d39c452fdd (diff)
downloadlibcxxrt-1a363fb6e4d6e0381b387cef48b27e105af5c34e.tar.gz
am 2f150a6c: pass to dladdr void *, not const void *
* commit '2f150a6c49f53dc1dbdd708ea96be1d39c452fdd': pass to dladdr void *, not const void *
-rw-r--r--src/exception.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exception.cc b/src/exception.cc
index 048021a..736c65b 100644
--- a/src/exception.cc
+++ b/src/exception.cc
@@ -654,7 +654,7 @@ static _Unwind_Reason_Code trace(struct _Unwind_Context *context, void *c)
{
Dl_info myinfo;
int mylookup =
- dladdr(reinterpret_cast<const void *>(__cxa_current_exception_type), &myinfo);
+ dladdr(reinterpret_cast<void *>(__cxa_current_exception_type), &myinfo);
void *ip = reinterpret_cast<void*>(_Unwind_GetIP(context));
Dl_info info;
if (dladdr(ip, &info) != 0)