aboutsummaryrefslogtreecommitdiff
path: root/gas/read.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1998-04-24 16:49:58 +0000
committerIan Lance Taylor <ian@airs.com>1998-04-24 16:49:58 +0000
commit0917e2cbeacdcfa634a6efa450a86bee8b989adb (patch)
tree33bd6ead8e63f8f7c7dab32f53c13f24c65eac85 /gas/read.c
parent682639a81fcda3d532f855cc9dac8074d7915852 (diff)
downloadgdb-0917e2cbeacdcfa634a6efa450a86bee8b989adb.zip
gdb-0917e2cbeacdcfa634a6efa450a86bee8b989adb.tar.gz
gdb-0917e2cbeacdcfa634a6efa450a86bee8b989adb.tar.bz2
Fri Apr 24 12:47:42 1998 Philippe De Muyter <phdm@macqel.be>
* read.c (s_set): Cast xmalloc return value to fragS *. * config/tc-m68k.c (m68k_ip): Function made static to match previous forward declaration. (insert_reg, init_regtable, md_convert_frag_1): Likewise.
Diffstat (limited to 'gas/read.c')
-rw-r--r--gas/read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/read.c b/gas/read.c
index 331a256..8e06d85 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -2710,7 +2710,7 @@ s_set (equiv)
if (listing & LISTING_SYMBOLS)
{
extern struct list_info_struct *listing_tail;
- fragS *dummy_frag = xmalloc (sizeof(fragS));
+ fragS *dummy_frag = (fragS *) xmalloc (sizeof(fragS));
memset (dummy_frag, 0, sizeof(fragS));
dummy_frag->fr_type = rs_fill;
dummy_frag->line = listing_tail;