]> granicus.if.org Git - python/commitdiff
Fix icc warnings: single bit fields should be unsigned
authorNeal Norwitz <nnorwitz@gmail.com>
Sat, 7 Jan 2006 21:25:23 +0000 (21:25 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Sat, 7 Jan 2006 21:25:23 +0000 (21:25 +0000)
Include/symtable.h

index d1e7b3553f42b02b8344081f9e2b5b392ca52835..fefe08bb31b3b9637b00a1fe5d86e95d73e42974 100644 (file)
@@ -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 */