aboutsummaryrefslogtreecommitdiff
path: root/gdb/tm-68k.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/tm-68k.h')
-rw-r--r--gdb/tm-68k.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tm-68k.h b/gdb/tm-68k.h
index b3c6c37..af629c3 100644
--- a/gdb/tm-68k.h
+++ b/gdb/tm-68k.h
@@ -286,7 +286,7 @@ extern struct ext_format ext_format_68881 [];
the address in which a function should return its structure value,
as a CORE_ADDR (or an expression that can be used as one). */
-#define EXTRACT_STRUCT_VALUE_ADDRESS(REGBUF) (*(int *)(REGBUF))
+#define EXTRACT_STRUCT_VALUE_ADDRESS(REGBUF) (*(CORE_ADDR *)(REGBUF))
/* Describe the pointer in each stack frame to the previous stack frame
(its caller). */