From: Michael Beck Date: Wed, 31 Aug 2005 09:38:21 +0000 (+0000) Subject: removed warnings: single bit type should be unsigned if 0 and 1 should be stored... X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=b3dc0da77e3bdaa5b44aa1f7593fce3b9bccb13a;p=libfirm removed warnings: single bit type should be unsigned if 0 and 1 should be stored there [r6543] --- diff --git a/ir/ir/irnode_t.h b/ir/ir/irnode_t.h index 391bf015a..0a58755ad 100644 --- a/ir/ir/irnode_t.h +++ b/ir/ir/irnode_t.h @@ -48,8 +48,8 @@ typedef struct { ir_graph *irg; unsigned long block_visited; /**< for the walker that walks over all blocks. */ /* Attributes private to construction: */ - int matured:1; /**< if set, all in-nodes of the block are fixed */ - int dead:1; /**< if set, the block is dead (and could be replace by a Bad */ + unsigned matured:1; /**< if set, all in-nodes of the block are fixed */ + unsigned dead:1; /**< if set, the block is dead (and could be replace by a Bad */ struct ir_node **graph_arr; /**< array to store all parameters */ /* Attributes holding analyses information */ struct dom_info dom; /**< Datastructure that holds information about dominators. @@ -580,7 +580,7 @@ _get_Block_cfgpred (ir_node *node, int pos) { /* Get the predecessor block. * - * Returns the block corresonding to the predecessor pos. + * Returns the block corresponding to the predecessor pos. * * There are several ambiguities we resolve with this function: * - The direct predecessor can be a Proj, which is not pinned.