aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/cpplib.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index fe68be0..2ddf77e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+Wed Sep 8 02:23:08 1999 Jeffrey A Law (law@cygnus.com)
+
+ * cpplib.c (cpp_push_buffer): Fix order of arguments.
+
Wed Sep 8 04:44:09 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
* rtl.h (obstack_alloc_rtx): Removed, it's now static in
diff --git a/gcc/cpplib.c b/gcc/cpplib.c
index 1c85ba7..4ac7f51 100644
--- a/gcc/cpplib.c
+++ b/gcc/cpplib.c
@@ -718,7 +718,7 @@ cpp_push_buffer (pfile, buffer, length)
return NULL;
}
- new = (cpp_buffer *) xcalloc (sizeof (cpp_buffer), 1);
+ new = (cpp_buffer *) xcalloc (1, sizeof (cpp_buffer));
new->if_stack = pfile->if_stack;
new->cleanup = null_cleanup;