aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-04-14 08:52:37 +0000
committerRoland McGrath <roland@gnu.org>2003-04-14 08:52:37 +0000
commit8133a3fd7786cefedb07ba1d09f1c9e214fd94e0 (patch)
tree048e1cb21515853e8c57e2c79f434c78fa060968 /sysdeps/generic
parent06c150961016ef0ee18a0ccc7d3aaa963ac2c5bf (diff)
downloadglibc-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.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/unwind-dw2.c2
1 files changed, 1 insertions, 1 deletions
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. */