libgcc: Fix -Wint-conversion warning in find_fde_tail

Fixes commit r14-1614-g49310a99330849 ("libgcc: Fix eh_frame fast path
in find_fde_tail").

libgcc/

	PR libgcc/110179
	* unwind-dw2-fde-dip.c (find_fde_tail): Add cast to avoid
	implicit conversion of pointer value to integer.
This commit is contained in:
Florian Weimer 2023-07-11 06:19:39 +02:00
parent 322d17ae51
commit 104b090052

View File

@ -403,7 +403,7 @@ find_fde_tail (_Unwind_Ptr pc,
BFD ld generates. */
signed value __attribute__ ((mode (SI)));
memcpy (&value, p, sizeof (value));
eh_frame = p + value;
eh_frame = (_Unwind_Ptr) (p + value);
p += sizeof (value);
}
else