From 522f5383547a2b3980f097a647b25f12c15411af Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Thu, 27 Jan 2022 14:42:40 -0800 Subject: 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(-) (limited to 'include') 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 *); -- cgit v1.3