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.
This commit is contained in:
Xi Ruoyao 2022-02-25 01:45:57 +08:00
parent 029851fe70
commit 157cc4e011
No known key found for this signature in database
GPG Key ID: D95E4716CCBB34DC
1 changed files with 1 additions and 1 deletions

View File

@ -514,7 +514,7 @@ _Unwind_Find_FDE (void *pc, struct dwarf_eh_bases *bases)
# if DLFO_STRUCT_HAS_EH_DBASE
(_Unwind_Ptr) dlfo.dlfo_eh_dbase,
# else
NULL,
0,
# endif
bases);
else