insert_breakpoints -- insert cast to eliminate warning.

This commit is contained in:
David Taylor 1999-01-14 00:37:26 +00:00
parent 3ab2abae9a
commit 320d5bd8b6
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,8 @@
Wed Jan 13 19:33:16 1999 David Taylor <taylor@texas.cygnus.com>
* breakpoint.c (insert_breakpoints): insert cast to eliminate
warning.
Tue Jan 12 17:00:00 1999 Edith Epstein <eepstein@sophia.cygnus.com>
* inftarg.c (child_create_inferior): fixed HPUXHPPA specific

View File

@ -665,7 +665,8 @@ insert_breakpoints ()
/* Bp set, now make sure callbacks are enabled */
args.kind = b->type == bp_catch_catch ? EX_EVENT_CATCH : EX_EVENT_THROW;
args.enable = 1;
sal = catch_errors ((int (*) PARAMS ((char *)))
sal = (struct symtab_and_line *)
catch_errors ((int (*) PARAMS ((char *)))
cover_target_enable_exception_callback,
(char *) &args,
message, RETURN_MASK_ALL);