summaryrefslogtreecommitdiffhomepage
path: root/ir/lower
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2017-12-17 13:01:14 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2018-02-26 14:02:41 +0100
commit822fcc29d091667b4c5b51f1dc40d8e94a7d306f (patch)
treee724146956a0437edb9e4525b3d17d7946247116 /ir/lower
parentfdecd8043608d82f1c8957269a291120928f405e (diff)
Avoid mixed signed/unsigned comparison.
Diffstat (limited to 'ir/lower')
-rw-r--r--ir/lower/lower_calls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/lower/lower_calls.c b/ir/lower/lower_calls.c
index 3537b10..942f128 100644
--- a/ir/lower/lower_calls.c
+++ b/ir/lower/lower_calls.c
@@ -1186,7 +1186,7 @@ static ir_node *build_compound_from_arguments(ir_node *irn, wlk_env *env, unsign
ir_node *first = NULL;
unsigned tp_size = get_type_size(tp);
- long offset = 0;
+ unsigned offset = 0;
for (unsigned i = 0; i < spec->length; i++) {
long reg_offset = 0;