signed/unsigned warning fixed
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Wed, 6 Jun 2007 12:17:57 +0000 (12:17 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Wed, 6 Jun 2007 12:17:57 +0000 (12:17 +0000)
[r14365]

ir/opt/scalar_replace.c

index 1025327..dd49297 100644 (file)
@@ -432,7 +432,7 @@ static unsigned allocate_value_numbers(pset *sels, ir_entity *ent, unsigned vnum
       set_insert(pathes, key, PATH_SIZE(key), path_hash(key));
 
       SET_VNUM(sel, key->vnum);
-      ARR_EXTO(ir_mode *, *modes, (key->vnum + 15) & ~15);
+      ARR_EXTO(ir_mode *, *modes, (int)((key->vnum + 15) & ~15));
 
       (*modes)[key->vnum] = get_type_mode(get_entity_type(get_Sel_entity(sel)));