Commit 0a0fd5a9 authored by Michael Beck's avatar Michael Beck
Browse files

Fixed size_t issues.

[r28268]
parent 072e8c0f
......@@ -613,7 +613,7 @@ static ir_node *muchnik_select(void *block_env, ir_nodeset_t *ready_set, ir_node
}
else {
force_mcands:
DB((env->dbg, LEVEL_3, "\tmcand = %d\n", ir_nodeset_size(&mcands)));
DB((env->dbg, LEVEL_3, "\tmcand = %zu\n", ir_nodeset_size(&mcands)));
irn = basic_selection(&mcands);
}
}
......
/*
* 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.
*
......@@ -271,7 +271,7 @@ static void create_location_data(dbg_info *dbg, block_id_walker_data_t *wd)
ident *id;
char buf[128];
ir_type *arr;
int i, len = strlen(fname) + 1;
size_t i, len = strlen(fname) + 1;
ir_tarval **tarval_string;
snprintf(buf, sizeof(buf), "firm_name_arr.%u", nr);
......
......@@ -454,6 +454,7 @@ static path_t *find_path(ir_node *sel, size_t len)
} else
res = find_path(pred, len);
assert(len <= res->path_len);
pos = res->path_len - len;
res->path[pos++].ent = get_Sel_entity(sel);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment