summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beloopana.c
diff options
context:
space:
mode:
authorMichael Beck <mm.beck@gmx.net>2011-03-06 01:34:36 +0100
committerMichael Beck <mm.beck@gmx.net>2011-03-06 01:35:39 +0100
commit9e31d4eab3ffb00fae7791ed224ea27fbca2eade (patch)
tree8d0fb483245011a71c0b3fad7fab63a4d65faec7 /ir/be/beloopana.c
parent9c6eada40867ea8c34c9db0ce2ca5f18e764e0e4 (diff)
Fixed size_t related warnings.
Diffstat (limited to 'ir/be/beloopana.c')
-rw-r--r--ir/be/beloopana.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ir/be/beloopana.c b/ir/be/beloopana.c
index 9074bee..9c33d76 100644
--- a/ir/be/beloopana.c
+++ b/ir/be/beloopana.c
@@ -114,11 +114,11 @@ static unsigned be_compute_block_pressure(const ir_graph *irg,
static unsigned be_compute_loop_pressure(be_loopana_t *loop_ana, ir_loop *loop,
const arch_register_class_t *cls)
{
- int i, max;
+ size_t i, max;
unsigned pressure;
be_loop_info_t *entry, key;
- DBG((dbg, LEVEL_1, "\nProcessing Loop %d\n", loop->loop_nr));
+ DBG((dbg, LEVEL_1, "\nProcessing Loop %ld\n", loop->loop_nr));
assert(get_loop_n_elements(loop) > 0);
pressure = 0;
@@ -136,7 +136,7 @@ static unsigned be_compute_loop_pressure(be_loopana_t *loop_ana, ir_loop *loop,
pressure = MAX(pressure, son_pressure);
}
- DBG((dbg, LEVEL_1, "Done with loop %d, pressure %u for class %s\n", loop->loop_nr, pressure, cls->name));
+ DBG((dbg, LEVEL_1, "Done with loop %ld, pressure %u for class %s\n", loop->loop_nr, pressure, cls->name));
/* update info in set */
key.loop = loop;