OSDN Git Service

Fix bad regexp
[pf3gnuchains/gcc-fork.git] / gcc / varray.c
index ffff576..eef2234 100644 (file)
@@ -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);
@@ -85,7 +85,7 @@ varray_check_failed (va, n, file, line, function)
      int line;
      const char *function;
 {
-  internal_error ("Virtual array %s[%lu]: element %lu out of bounds in %s, at %s:%d",
+  internal_error ("virtual array %s[%lu]: element %lu out of bounds in %s, at %s:%d",
                  va->name, (unsigned long) va->num_elements, (unsigned long) n,
                  function, trim_filename (file), line);
 }