summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bespilldaemel.c
diff options
context:
space:
mode:
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>2011-01-07 00:36:57 +0100
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>2011-01-07 00:36:57 +0100
commit5244f95767968d8b59ef3f2031612b86474e2455 (patch)
treef31f1b7624fc12c8051e1caf747cc3421d2ed010 /ir/be/bespilldaemel.c
parentf859cb0b5cd7c13d3d017770fdbd0b606785b1d9 (diff)
Fixed some 64bit warnings because of mixing size_t and other types.
[r28221]
Diffstat (limited to 'ir/be/bespilldaemel.c')
-rw-r--r--ir/be/bespilldaemel.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ir/be/bespilldaemel.c b/ir/be/bespilldaemel.c
index 956a00d..292d864 100644
--- a/ir/be/bespilldaemel.c
+++ b/ir/be/bespilldaemel.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved.
+ * Copyright (C) 1995-2011 University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
@@ -57,7 +57,7 @@
DEBUG_ONLY(static firm_dbg_module_t *dbg = NULL;)
static spill_env_t *spill_env;
-static int n_regs;
+static unsigned n_regs;
static const arch_register_class_t *cls;
static const be_lv_t *lv;
static bitset_t *spilled_nodes;
@@ -150,7 +150,7 @@ static void do_spilling(ir_nodeset_t *live_nodes, ir_node *node)
size_t free_regs_needed = 0;
spill_candidate_t *candidates;
ir_nodeset_iterator_t iter;
- size_t i, arity;
+ int i, arity;
int spills_needed;
size_t cand_idx;
ir_node *n;