diff options
author | DJ Delorie <dj@redhat.com> | 2005-05-24 21:01:33 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2005-05-24 21:01:33 +0000 |
commit | abf6a75b428517d9caaf9155212b0b10e0379a99 (patch) | |
tree | 3476694dba1d2c731deb2a131b0d8d6c5dcb0cd3 /libiberty/sort.c | |
parent | f127898a4db12540b9898e25777c6c3725d119bf (diff) | |
download | fsf-binutils-gdb-abf6a75b428517d9caaf9155212b0b10e0379a99.zip fsf-binutils-gdb-abf6a75b428517d9caaf9155212b0b10e0379a99.tar.gz fsf-binutils-gdb-abf6a75b428517d9caaf9155212b0b10e0379a99.tar.bz2 |
merge from gcc
Diffstat (limited to 'libiberty/sort.c')
-rw-r--r-- | libiberty/sort.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libiberty/sort.c b/libiberty/sort.c index a4fffef..3738dd7 100644 --- a/libiberty/sort.c +++ b/libiberty/sort.c @@ -155,8 +155,8 @@ int main (int argc, char **argv) else k = 10; - pointers = xmalloc (k * sizeof (void *)); - work = xmalloc (k * sizeof (void *)); + pointers = XNEWVEC (void*, k); + work = XNEWVEC (void*, k); for (i = 0; i < k; ++i) { |