* ui-out.c (ui_out_field_core_addr): Remove unnecessary cast in

calls to local_hex_string_custom().
This commit is contained in:
Kevin Buettner 2002-07-27 01:54:15 +00:00
parent 313fb2f63c
commit 9647fa4995
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2002-07-26 Kevin Buettner <kevinb@redhat.com>
* ui-out.c (ui_out_field_core_addr): Remove unnecessary cast in
calls to local_hex_string_custom().
2002-07-26 Kevin Buettner <kevinb@redhat.com>
* irix5-nat.c: Move IRIX shared library support from here...

View File

@ -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);
}