unwind-sjlj.c (_Unwind_GetCFA): Return (_Unwind_Word)0 instead of NULL.

* unwind-sjlj.c (_Unwind_GetCFA): Return (_Unwind_Word)0 instead
	of NULL.

From-SVN: r73184
This commit is contained in:
Roger Sayle 2003-11-02 00:00:08 +00:00 committed by Roger Sayle
parent 0527bc4ebf
commit d234bf6133
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-11-01 Roger Sayle <roger@eyesopen.com>
* unwind-sjlj.c (_Unwind_GetCFA): Return (_Unwind_Word)0 instead
of NULL.
2003-11-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR preprocessor/12847

View File

@ -185,7 +185,7 @@ _Unwind_Word
_Unwind_GetCFA (struct _Unwind_Context *context __attribute__((unused)))
{
/* ??? Ideally __builtin_setjmp places the CFA in the jmpbuf. */
return NULL;
return (_Unwind_Word) 0;
}
void