From ea0d7e8b63d0e38200debe084543a951753b28c7 Mon Sep 17 00:00:00 2001 From: Graham Stott Date: Mon, 8 Feb 1999 03:31:34 -0800 Subject: * collect2.c (xrealloc): fix typo in last change. From-SVN: r25079 --- gcc/collect2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/collect2.c') 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); -- cgit v1.1