diff options
author | DJ Delorie <dj@redhat.com> | 2002-09-20 13:45:20 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2002-09-20 13:45:20 +0000 |
commit | 585cc78f65f55dd5834911fbbe21b654c52f7bee (patch) | |
tree | a43a631b29706b85c9ab12c6c91181d2e7e07671 /libiberty/cplus-dem.c | |
parent | 6d305052679525c19163606e9968d8c67b2ca4f2 (diff) | |
download | binutils-gdb-585cc78f65f55dd5834911fbbe21b654c52f7bee.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++) { |