OSDN Git Service

* spew.c (snarf_defarg): Cast 2nd arg to obstack_blank to (int).
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Oct 2000 02:19:56 +0000 (02:19 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Oct 2000 02:19:56 +0000 (02:19 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36921 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/ChangeLog
gcc/cp/spew.c

index 1c61ab2..4246ac6 100644 (file)
@@ -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.
index 110fdca..1183dd1 100644 (file)
@@ -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);