aboutsummaryrefslogtreecommitdiff
path: root/gdb/ui-out.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2002-07-27 01:54:15 +0000
committerKevin Buettner <kevinb@redhat.com>2002-07-27 01:54:15 +0000
commit9647fa4995eeedb1bb8f77048110871213170747 (patch)
tree2ece9c3b1d8193fee16dc64158324a1d0d4e58da /gdb/ui-out.c
parent313fb2f63c670b231031540f81804ce6535313a6 (diff)
downloadbinutils-9647fa4995eeedb1bb8f77048110871213170747.zip
binutils-9647fa4995eeedb1bb8f77048110871213170747.tar.gz
binutils-9647fa4995eeedb1bb8f77048110871213170747.tar.bz2
* ui-out.c (ui_out_field_core_addr): Remove unnecessary cast in
calls to local_hex_string_custom().
Diffstat (limited to 'gdb/ui-out.c')
-rw-r--r--gdb/ui-out.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/ui-out.c b/gdb/ui-out.c
index c07d695..4a4a922 100644
--- a/gdb/ui-out.c
+++ b/gdb/ui-out.c
@@ -497,9 +497,9 @@ ui_out_field_core_addr (struct ui_out *uiout,
based on TARGET_ADDR_BIT. */
/* print_address_numeric (address, 1, local_stream); */
if (TARGET_ADDR_BIT <= 32)
- strcpy (addstr, local_hex_string_custom ((unsigned long) address, "08l"));
+ strcpy (addstr, local_hex_string_custom (address, "08l"));
else
- strcpy (addstr, local_hex_string_custom ((unsigned long) address, "016l"));
+ strcpy (addstr, local_hex_string_custom (address, "016l"));
ui_out_field_string (uiout, fldname, addstr);
}