diff options
author | Roland McGrath <roland@gnu.org> | 2003-04-14 08:52:37 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2003-04-14 08:52:37 +0000 |
commit | 8133a3fd7786cefedb07ba1d09f1c9e214fd94e0 (patch) | |
tree | 048e1cb21515853e8c57e2c79f434c78fa060968 | |
parent | 06c150961016ef0ee18a0ccc7d3aaa963ac2c5bf (diff) | |
download | glibc-8133a3fd7786cefedb07ba1d09f1c9e214fd94e0.zip glibc-8133a3fd7786cefedb07ba1d09f1c9e214fd94e0.tar.gz glibc-8133a3fd7786cefedb07ba1d09f1c9e214fd94e0.tar.bz2 |
* 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.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | sysdeps/generic/unwind-dw2.c | 2 |
2 files changed, 8 insertions, 1 deletions
@@ -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 diff --git a/sysdeps/generic/unwind-dw2.c b/sysdeps/generic/unwind-dw2.c index 7200344..8e17546 100644 --- a/sysdeps/generic/unwind-dw2.c +++ b/sysdeps/generic/unwind-dw2.c @@ -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. */ |