git: 522f5383547a - main - Change the return value of _Unwind_GetCFA in include/unwind.h.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Thu, 27 Jan 2022 22:42:56 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=522f5383547a2b3980f097a647b25f12c15411af

commit 522f5383547a2b3980f097a647b25f12c15411af
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-01-27 22:42:40 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-01-27 22:42:40 +0000

    Change the return value of _Unwind_GetCFA in include/unwind.h.
    
    I tested the original commit as part of a series that culminates in
    removing this header and installing LLVM libunwind's unwind.h in its
    place so missed updating this header as was done in b84693501af6.
    
    Pointy hat to:  jhb
    Reported by:    kevans
    Fixes:          3a502289d316 Use uintptr_t for return type of _Unwind_GetCFA.
---
 include/unwind.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/unwind.h b/include/unwind.h
index 214fb43730aa..a872c0a094ba 100644
--- a/include/unwind.h
+++ b/include/unwind.h
@@ -124,7 +124,7 @@ extern unsigned long _Unwind_GetBSP (struct _Unwind_Context *);
 
 /* Return the "canonical frame address" for the given context.
    This is used by NPTL... */
-extern unsigned long _Unwind_GetCFA (struct _Unwind_Context *);
+extern uintptr_t _Unwind_GetCFA (struct _Unwind_Context *);
 
 /* Return the base-address for data references.  */
 extern unsigned long _Unwind_GetDataRelBase (struct _Unwind_Context *);