summaryrefslogtreecommitdiff
path: root/Include/symtable.h
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-01-07 21:25:23 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2006-01-07 21:25:23 +0000
commit8208b646704822e4111ce9d8e8ad17bc7bd60046 (patch)
treecf85af3b25dccce37e15527b4b6ee40b2adf8858 /Include/symtable.h
parentdaf595f8a91c1a9f9a8ba5e06be4fa77c66cccf0 (diff)
downloadcpython-git-8208b646704822e4111ce9d8e8ad17bc7bd60046.tar.gz
Fix icc warnings: single bit fields should be unsigned
Diffstat (limited to 'Include/symtable.h')
-rw-r--r--Include/symtable.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/Include/symtable.h b/Include/symtable.h
index d1e7b3553f..fefe08bb31 100644
--- a/Include/symtable.h
+++ b/Include/symtable.h
@@ -31,13 +31,13 @@ typedef struct _symtable_entry {
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 */