aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorBrad Lucier <lucier@math.purdue.edu>2000-10-18 02:19:56 +0000
committerJeff Law <law@gcc.gnu.org>2000-10-17 20:19:56 -0600
commit8fef2e474b651c589d816d38cbcd35a205d2a296 (patch)
treeb8cfc2ee245d4dac9cb407ae75e668addec80df4 /gcc/cp
parent11881f37b7b4a5a485eaff11dda1c824495a0aaa (diff)
downloadgcc-8fef2e474b651c589d816d38cbcd35a205d2a296.zip
gcc-8fef2e474b651c589d816d38cbcd35a205d2a296.tar.gz
gcc-8fef2e474b651c589d816d38cbcd35a205d2a296.tar.bz2
* spew.c (snarf_defarg): Cast 2nd arg to obstack_blank to (int).
From-SVN: r36921
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/spew.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 1c61ab2..4246ac6 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,7 @@
+Tue Oct 17 20:19:06 2000 Brad Lucier <lucier@math.purdue.edu>
+
+ * spew.c (snarf_defarg): Cast 2nd arg to obstack_blank to (int).
+
2000-10-17 Joseph S. Myers <jsm28@cam.ac.uk>
* decl.c (WINT_TYPE): Define.
diff --git a/gcc/cp/spew.c b/gcc/cp/spew.c
index 110fdca..1183dd111 100644
--- a/gcc/cp/spew.c
+++ b/gcc/cp/spew.c
@@ -1240,7 +1240,7 @@ snarf_defarg ()
/* Unget the last token. */
push_token ((struct token *) (obstack_base (&inline_text_obstack) + point));
/* This is the documented way to shrink a growing obstack block. */
- obstack_blank (&inline_text_obstack, - sizeof (struct token));
+ obstack_blank (&inline_text_obstack, - (int) sizeof (struct token));
done:
len = obstack_object_size (&inline_text_obstack);