[Python-checkins] r41952 - python/trunk/Include/symtable.h

neal.norwitz python-checkins at python.org
Sat Jan 7 22:25:24 CET 2006


Author: neal.norwitz
Date: Sat Jan  7 22:25:23 2006
New Revision: 41952

Modified:
   python/trunk/Include/symtable.h
Log:
Fix icc warnings: single bit fields should be unsigned

Modified: python/trunk/Include/symtable.h
==============================================================================
--- python/trunk/Include/symtable.h	(original)
+++ python/trunk/Include/symtable.h	Sat Jan  7 22:25:23 2006
@@ -31,13 +31,13 @@
 	PyObject *ste_children;  /* list of child ids */
 	_Py_block_ty ste_type;   /* module, class, or function */
 	int ste_unoptimized;     /* false if namespace is optimized */
-	int ste_nested : 1;      /* true if block is nested */
-	int ste_free : 1;        /* true if block has free variables */
-	int ste_child_free : 1;  /* true if a child block has free variables,
-				    including free refs to globals */
-	int ste_generator : 1;   /* true if namespace is a generator */
-	int ste_varargs : 1;     /* true if block has varargs */
-	int ste_varkeywords : 1; /* true if block has varkeywords */
+	unsigned ste_nested : 1;      /* true if block is nested */
+	unsigned ste_free : 1;        /* true if block has free variables */
+	unsigned ste_child_free : 1;  /* true if a child block has free vars,
+				         including free refs to globals */
+	unsigned ste_generator : 1;   /* true if namespace is a generator */
+	unsigned ste_varargs : 1;     /* true if block has varargs */
+	unsigned ste_varkeywords : 1; /* true if block has varkeywords */
 	int ste_lineno;          /* first line of block */
 	int ste_opt_lineno;      /* lineno of last exec or import * */
 	int ste_tmpname;         /* counter for listcomp temp vars */


More information about the Python-checkins mailing list