summaryrefslogtreecommitdiff
path: root/gdb/hpread.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2003-01-11 02:13:23 +0000
committerJoel Brobecker <brobecker@gnat.com>2003-01-11 02:13:23 +0000
commit414e47da7f7f0643db0a85e4c022af77bb52c618 (patch)
tree874d67d237f54b635932f6153c9d18748c0c0d08 /gdb/hpread.c
parent93d1e134d54821ad8690a9cafcbb087180503972 (diff)
downloadgdb-414e47da7f7f0643db0a85e4c022af77bb52c618.tar.gz
* hpread.c (SET_NAMESTRING): Remove an incorrect cast to fix
a compilation warning. (hpread_process_one_debug_symbol): Likewise.
Diffstat (limited to 'gdb/hpread.c')
-rw-r--r--gdb/hpread.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/hpread.c b/gdb/hpread.c
index 39160607a88..cf5c563275b 100644
--- a/gdb/hpread.c
+++ b/gdb/hpread.c
@@ -99,7 +99,7 @@ struct hpread_symfile_info
else if (((unsigned)(SYM)->dsfile.name) >= VT_SIZE (OBJFILE)) \
{ \
complaint (&symfile_complaints, "bad string table offset in symbol %d", \
- (char *) symnum); \
+ symnum); \
*NAMEP = ""; \
} \
else \
@@ -5233,7 +5233,7 @@ hpread_process_one_debug_symbol (union dnttentry *dn_bufp, char *name,
/* Stack must be empty now. */
if (context_stack_depth != 0)
- lbrac_unmatched_complaint ((char *) symnum);
+ lbrac_unmatched_complaint (symnum);
new = push_context (0, valu);
/* Built a type for the function. This includes processing
@@ -5356,7 +5356,7 @@ hpread_process_one_debug_symbol (union dnttentry *dn_bufp, char *name,
CURRENT_FUNCTION_VALUE (objfile) = valu;
/* Stack must be empty now. */
if (context_stack_depth != 0)
- lbrac_unmatched_complaint ((char *) symnum);
+ lbrac_unmatched_complaint (symnum);
new = push_context (0, valu);
/* Built a type for the function. This includes processing
@@ -5584,7 +5584,7 @@ hpread_process_one_debug_symbol (union dnttentry *dn_bufp, char *name,
new = pop_context ();
desc = dn_bufp->dend.beginscope.dnttp.index;
if (desc != new->depth)
- lbrac_mismatch_complaint ((char *) symnum);
+ lbrac_mismatch_complaint (symnum);
/* Make a block for the local symbols within. */
finish_block (new->name, &local_symbols, new->old_blocks,