Commit 324820f1 by Chen Gang Committed by Jeff Law

unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of "(char *)" to avoid…

unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of "(char *)" to avoid qualifier warning by 'xgcc'...

 	* unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
 	"(char *)" to avoid qualifier warning by 'xgcc' compiling.

From-SVN: r220004
parent f4b05e74
2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
* unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
"(char *)" to avoid qualifier warning by 'xgcc' compiling.
2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
* config/nios2/linux-unwind.h (nios2_fallback_frame_state):
......
......@@ -169,7 +169,7 @@ static inline int
last_fde (struct object *obj __attribute__ ((__unused__)), const fde *f)
{
#ifdef DWARF2_OBJECT_END_PTR_EXTENSION
return (char *)f == obj->fde_end || f->length == 0;
return f == (const fde *) obj->fde_end || f->length == 0;
#else
return f->length == 0;
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment