libgcc: fix a warning calling find_fde_tail
authorXi Ruoyao <xry111@mengyan1223.wang>
Thu, 24 Feb 2022 17:45:57 +0000 (01:45 +0800)
committerXi Ruoyao <xry111@mengyan1223.wang>
Thu, 24 Feb 2022 19:10:37 +0000 (03:10 +0800)
commit157cc4e0117756503c7c63df97cf31de7570b088
tree69008d4028df06e8e2a8404b8589acc15e0ecb1f
parent029851fe7092e0d5bd757f51cca4ce6467795f5c
libgcc: fix a warning calling find_fde_tail

The third parameter of find_fde_tail is an _Unwind_Ptr (which is an
integer type instead of a pointer), but we are passing NULL to it.  This
causes a -Wint-conversion warning.

libgcc/

* unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
with 0 instead of NULL.
libgcc/unwind-dw2-fde-dip.c