* sysdeps/generic/unwind-dw2.c (_Unwind_GetCFA): Add a cast to silence
authorRoland McGrath <roland@gnu.org>
Mon, 14 Apr 2003 08:52:37 +0000 (08:52 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 14 Apr 2003 08:52:37 +0000 (08:52 +0000)
compiler warning.

* sysdeps/generic/unwind-pe.h: Fix decl hacks broken in merge.

ChangeLog
sysdeps/generic/unwind-dw2.c

index 0c22f0f..9c86339 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2003-04-14  Roland McGrath  <roland@redhat.com>
+
+       * sysdeps/generic/unwind-dw2.c (_Unwind_GetCFA): Add a cast to silence
+       compiler warning.
+
+       * sysdeps/generic/unwind-pe.h: Fix decl hacks broken in merge.
+
 2003-04-14  Ulrich Drepper  <drepper@redhat.com>
 
        * string/strxfrm.c (STRXFRM): Terminate rulearr at correct
index 7200344..8e17546 100644 (file)
@@ -184,7 +184,7 @@ _Unwind_GetGR (struct _Unwind_Context *context, int index)
 _Unwind_Word
 _Unwind_GetCFA (struct _Unwind_Context *context)
 {
-  return context->cfa;
+  return (_Unwind_Word) context->cfa;
 }
 
 /* Overwrite the saved value for register REG in CONTEXT with VAL.  */