summary refs log tree commit diff
path: root/sysdeps/generic/unwind-dw2.c
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/unwind-dw2.c
parent06c150961016ef0ee18a0ccc7d3aaa963ac2c5bf (diff)
downloadglibc-8133a3fd7786cefedb07ba1d09f1c9e214fd94e0.tar.gz
glibc-8133a3fd7786cefedb07ba1d09f1c9e214fd94e0.tar.xz
glibc-8133a3fd7786cefedb07ba1d09f1c9e214fd94e0.zip
* 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/unwind-dw2.c')
-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 720034427d..8e175466ab 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.  */