* ui-out.c (ui_out_field_core_addr): Remove unnecessary cast in
authorKevin Buettner <kevinb@redhat.com>
Sat, 27 Jul 2002 01:54:15 +0000 (01:54 +0000)
committerKevin Buettner <kevinb@redhat.com>
Sat, 27 Jul 2002 01:54:15 +0000 (01:54 +0000)
calls to local_hex_string_custom().

gdb/ChangeLog
gdb/ui-out.c

index 91b1c64..88b6573 100644 (file)
@@ -1,5 +1,10 @@
 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...
        * solib-irix.c: ...to here.  Revised substantially to work with
        generic solib framework.
index c07d695..4a4a922 100644 (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);
 }