diff options
author | Graham Stott <grahams@rcp.co.uk> | 1999-02-08 03:31:34 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 1999-02-08 03:31:34 -0800 |
commit | ea0d7e8b63d0e38200debe084543a951753b28c7 (patch) | |
tree | 90e0a160512342f904ff133a40398fd9ae7bfb10 /gcc/collect2.c | |
parent | acd663ee8d130f87133566064f02b94bedcea9d4 (diff) | |
download | gcc-ea0d7e8b63d0e38200debe084543a951753b28c7.zip gcc-ea0d7e8b63d0e38200debe084543a951753b28c7.tar.gz gcc-ea0d7e8b63d0e38200debe084543a951753b28c7.tar.bz2 |
* collect2.c (xrealloc): fix typo in last change.
From-SVN: r25079
Diffstat (limited to 'gcc/collect2.c')
-rw-r--r-- | gcc/collect2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/collect2.c b/gcc/collect2.c index 9a538af..f144480 100644 --- a/gcc/collect2.c +++ b/gcc/collect2.c @@ -553,7 +553,7 @@ xrealloc (old, size) size_t size; { register PTR ptr; - if (ptr) + if (old) ptr = (PTR) realloc (old, size); else ptr = (PTR) malloc (size); |