mirror of
https://github.com/gcc-mirror/gcc.git
synced 2024-11-21 13:40:47 +00:00
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:
parent
322d17ae51
commit
104b090052
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user