diff options
author | DJ Delorie <dj@delorie.com> | 2002-09-20 13:45:20 +0000 |
---|---|---|
committer | DJ Delorie <dj@delorie.com> | 2002-09-20 13:45:20 +0000 |
commit | 0a55e5ca18306227fa92b339308819fbbee369b4 (patch) | |
tree | db075fdaae2b49d8920c0ccf72eb18290f649fff /libiberty/cplus-dem.c | |
parent | f9bf43c87f91372b9354da04b2fe8d07f28ba21d (diff) | |
download | gdb-0a55e5ca18306227fa92b339308819fbbee369b4.tar.gz |
merge from gcc
Diffstat (limited to 'libiberty/cplus-dem.c')
-rw-r--r-- | libiberty/cplus-dem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libiberty/cplus-dem.c b/libiberty/cplus-dem.c index 63858986c6c..4c4778375b0 100644 --- a/libiberty/cplus-dem.c +++ b/libiberty/cplus-dem.c @@ -946,7 +946,7 @@ grow_vect (old_vect, size, min_size, element_size) *size *= 2; if (*size < min_size) *size = min_size; - *old_vect = xrealloc (*old_vect, *size * element_size); + *old_vect = (void *) xrealloc (*old_vect, *size * element_size); } } @@ -1206,7 +1206,7 @@ work_stuff_copy_to_from (to, from) if (from->ntmpl_args) to->tmpl_argvec - = xmalloc (from->ntmpl_args * sizeof (to->tmpl_argvec[0])); + = (char **) xmalloc (from->ntmpl_args * sizeof (to->tmpl_argvec[0])); for (i = 0; i < from->ntmpl_args; i++) { |