diff options
author | David Taylor <taylor@redhat.com> | 1999-01-14 00:37:26 +0000 |
---|---|---|
committer | David Taylor <taylor@redhat.com> | 1999-01-14 00:37:26 +0000 |
commit | 320d5bd8b6a55f3b0236628c81f5a342aed50275 (patch) | |
tree | f4fbd562660df177ecba15497153f0189d90ed72 /gdb/breakpoint.c | |
parent | 3ab2abae9ac2dc0ab96fc2d1a678b463485b90a0 (diff) | |
download | gdb-320d5bd8b6a55f3b0236628c81f5a342aed50275.zip gdb-320d5bd8b6a55f3b0236628c81f5a342aed50275.tar.gz gdb-320d5bd8b6a55f3b0236628c81f5a342aed50275.tar.bz2 |
insert_breakpoints -- insert cast to eliminate warning.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r-- | gdb/breakpoint.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index b979bf2..5e3b44a 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -665,10 +665,11 @@ 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 *))) - cover_target_enable_exception_callback, - (char *) &args, - message, RETURN_MASK_ALL); + sal = (struct symtab_and_line *) + catch_errors ((int (*) PARAMS ((char *))) + cover_target_enable_exception_callback, + (char *) &args, + message, RETURN_MASK_ALL); if (sal && (sal != (struct symtab_and_line *) -1)) { b->inserted = 1; |