summaryrefslogtreecommitdiff
path: root/gcc/varray.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-10 16:55:14 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-10 16:55:14 +0000
commit85db55910679c4ecc499bcef88b1aaca057a2b58 (patch)
treeda0fc47c67e1c2039adfdc7ebefe2d5318977a42 /gcc/varray.c
parentd2855ea6b0431e8e07a32a871c642966d8ae2e5f (diff)
downloadgcc-85db55910679c4ecc499bcef88b1aaca057a2b58.tar.gz
* varasm.c: Fix formatting.
* varray.c: Likewise. * vmsdbgout.c: Likewise. * xcoffout.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48735 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/varray.c')
-rw-r--r--gcc/varray.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/varray.c b/gcc/varray.c
index aa6de129ec8..eef2234099a 100644
--- a/gcc/varray.c
+++ b/gcc/varray.c
@@ -1,5 +1,5 @@
/* Virtual array support.
- Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+ Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
Contributed by Cygnus Solutions.
This file is part of GCC.
@@ -62,7 +62,7 @@ varray_grow (va, n)
size_t old_data_size = old_elements * element_size;
size_t data_size = n * element_size;
- va = (varray_type) xrealloc ((char *)va, VARRAY_HDR_SIZE + data_size);
+ va = (varray_type) xrealloc ((char *) va, VARRAY_HDR_SIZE + data_size);
va->num_elements = n;
if (n > old_elements)
memset (&va->data.c[old_data_size], 0, data_size - old_data_size);