diff options
author | anonymous <local@localhost> | 2010-09-30 16:04:56 +0000 |
---|---|---|
committer | anonymous <local@localhost> | 2010-09-30 16:04:56 +0000 |
commit | 71846ed960bffa879af2abf95956da6bb657eb6c (patch) | |
tree | 2618ee3a52b8ab0025894cf1329631343f19fddd | |
parent | 0afdb94827ffa547802b8ca65c5b80d88105d3ee (diff) | |
download | libcxxrt-71846ed960bffa879af2abf95956da6bb657eb6c.tar.gz libcxxrt-71846ed960bffa879af2abf95956da6bb657eb6c.tar.bz2 libcxxrt-71846ed960bffa879af2abf95956da6bb657eb6c.tar.xz |
Fix cast from function to data pointer warning.
-rw-r--r-- | src/exception.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exception.cc b/src/exception.cc index 0ecc679..d31ebdd 100644 --- a/src/exception.cc +++ b/src/exception.cc @@ -412,7 +412,7 @@ extern "C" void __cxa_free_exception(void *thrown_exception) static _Unwind_Reason_Code trace(struct _Unwind_Context *context, void *c) { Dl_info myinfo; - int mylookup = dladdr((void*)__cxa_current_exception_type, &myinfo); + int mylookup = dladdr((void*)(uintptr_t)__cxa_current_exception_type, &myinfo); void *ip = (void*)_Unwind_GetIP(context); Dl_info info; if (dladdr(ip, &info) != 0) |