projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
signed/unsigned warning fixed
[libfirm]
/
ir
/
opt
/
scalar_replace.c
diff --git
a/ir/opt/scalar_replace.c
b/ir/opt/scalar_replace.c
index
1025327
..
dd49297
100644
(file)
--- a/
ir/opt/scalar_replace.c
+++ b/
ir/opt/scalar_replace.c
@@
-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);
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)));
(*modes)[key->vnum] = get_type_mode(get_entity_type(get_Sel_entity(sel)));