diff options
author | Jeffrey A Law <law@cygnus.com> | 1999-09-08 08:24:39 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1999-09-08 02:24:39 -0600 |
commit | 236d1439f36030d1e8aa81c81d98e5981a83b166 (patch) | |
tree | fdbff91812403a4e32838ed54056032312e4efe8 | |
parent | 6659980655dad5ffe64708319990885588016fb1 (diff) | |
download | gcc-236d1439f36030d1e8aa81c81d98e5981a83b166.zip gcc-236d1439f36030d1e8aa81c81d98e5981a83b166.tar.gz gcc-236d1439f36030d1e8aa81c81d98e5981a83b166.tar.bz2 |
* cpplib.c (cpp_push_buffer): Fix order of arguments.
From-SVN: r29201
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cpplib.c | 2 |
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; |