Skip to content

Commit

Permalink
Merge pull request JuliaLang#15034 from ihnorton/fix_clang37_build
Browse files Browse the repository at this point in the history
Add casts to fix compile on Clang 3.7
  • Loading branch information
ihnorton committed Feb 12, 2016
2 parents f7d75b5 + 2570632 commit ea1fbb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/debuginfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1131,7 +1131,7 @@ void RTDyldMemoryManagerOSX::registerEHFrames(uint8_t *Addr,
{
// On OS X OS X __register_frame takes a single FDE as an argument.
// See http:https://lists.cs.uiuc.edu/pipermail/llvmdev/2013-April/061768.html
processFDEs(Addr, Size, [](const char *Entry) {
processFDEs((char*)Addr, Size, [](const char *Entry) {
if (!libc_register_frame) {
libc_register_frame = (void(*)(void*))dlsym(RTLD_NEXT,"__register_frame");
}
Expand All @@ -1145,7 +1145,7 @@ void RTDyldMemoryManagerOSX::deregisterEHFrames(uint8_t *Addr,
uint64_t LoadAddr,
size_t Size)
{
processFDEs(Addr, Size, [](const char *Entry) {
processFDEs((char*)Addr, Size, [](const char *Entry) {
if (!libc_deregister_frame) {
libc_deregister_frame = (void(*)(void*))dlsym(RTLD_NEXT,"__deregister_frame");
}
Expand Down

0 comments on commit ea1fbb4

Please sign in to comment.