* unwind-sjlj.c (_Unwind_GetCFA): Return (_Unwind_Word)0 instead
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 2 Nov 2003 00:00:08 +0000 (00:00 +0000)
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 2 Nov 2003 00:00:08 +0000 (00:00 +0000)
of NULL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73184 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/unwind-sjlj.c

index 76ef0df..73a9401 100644 (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
index a02fc32..505bb86 100644 (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