forked from OSchip/llvm-project
Cast the return value of _Unwind_GetIP() to uptr
This is needed for NetBSD to match the expected type in Unwind_GetIP(). llvm-svn: 345620
This commit is contained in:
parent
d54d17b6e2
commit
98f1dd0bd5
|
@ -97,7 +97,7 @@ uptr Unwind_GetIP(struct _Unwind_Context *ctx) {
|
|||
// Clear the Thumb bit.
|
||||
return val & ~(uptr)1;
|
||||
#else
|
||||
return _Unwind_GetIP(ctx);
|
||||
return (uptr)_Unwind_GetIP(ctx);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue