* 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 91b1c64baa560e8ae2ce53895de0f069119e51c0..88b6573fe2d1f6fe477b1dd5cec0ea7abaa188a8 100644 (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...
index c07d6952e6c1879575f30e47d9be3d3c181f11a2..4a4a9228540c7d077f342a8de59a11677637f30f 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);
 }
This page took 0.031422 seconds and 4 git commands to generate.