Index: src/SymTab/Autogen.h
===================================================================
--- src/SymTab/Autogen.h	(revision 4da6a6c62c48d6182b9a9e4567acfd2fb4311701)
+++ src/SymTab/Autogen.h	(revision bf4ac097c572e75965508a6487a639abaf9d6cc9)
@@ -10,6 +10,6 @@
 // Created On       : Sun May 17 21:53:34 2015
 // Last Modified By : Peter A. Buhr
-// Last Modified On : Mon Mar  6 23:33:01 2017
-// Update Count     : 4
+// Last Modified On : Tue Mar 14 23:13:28 2017
+// Update Count     : 7
 //
 
@@ -58,5 +58,6 @@
 			assert( type );
 			Type * castType = type->clone();
-			castType->get_qualifiers() -= Type::Qualifiers(true, true, true, false, true, false);
+//			castType->get_qualifiers() -= Type::Qualifiers(true, true, true, false, true, false);
+			castType->get_qualifiers() -= Type::Qualifiers( Type::Const | Type::Volatile | Type::Restrict | Type::Atomic );
 			castType->set_isLvalue( true ); // xxx - might not need this
 			dstParam = new CastExpr( dstParam, new PointerType( Type::Qualifiers(), castType ) );
