Index: src/Parser/parser.yy
===================================================================
--- src/Parser/parser.yy	(revision d69f4bb48d0f1f51a0fe4ab1cd6148a79274c871)
+++ src/Parser/parser.yy	(revision bec4d2435d8ea54e6e363023bbca8547befcc1e1)
@@ -10,6 +10,6 @@
 // Created On       : Sat Sep  1 20:22:55 2001
 // Last Modified By : Peter A. Buhr
-// Last Modified On : Wed Aug 29 16:44:17 2018
-// Update Count     : 4006
+// Last Modified On : Thu Aug 30 17:02:25 2018
+// Update Count     : 4029
 //
 
@@ -191,4 +191,8 @@
 
 ForCtrl * forCtrl( ExpressionNode * type, string * index, ExpressionNode * start, enum OperKinds compop, ExpressionNode * comp, ExpressionNode * inc ) {
+	ConstantExpr *constant = dynamic_cast<ConstantExpr *>(type->get_expr());
+	if ( constant && (constant->get_constant()->get_value() == "0" || constant->get_constant()->get_value() == "1") ) {
+    	type = new ExpressionNode( new CastExpr( maybeMoveBuild< Expression >(type), new BasicType( Type::Qualifiers(), BasicType::SignedInt ) ) );
+	} // if
 	return new ForCtrl(
 		distAttr( DeclarationNode::newTypeof( type ), DeclarationNode::newName( index )->addInitializer( new InitializerNode( start ) ) ),
@@ -218,6 +222,5 @@
 
 // Types declaration for productions
-%union
-{
+%union {
 	Token tok;
 	ParseNode * pn;
