* magic
*/
mtp = get_Call_type(call);
- if (get_method_variadicity(mtp) != variadicity_non_variadic) {
- n_params = get_method_first_variadic_param_index(mtp) - 1;
- }
/* In this for loop we collect the calls, that have
an constant parameter. */
/* Search the argument with the number pos.*/
for (i = get_irn_n_outs(irg_args) - 1; i >= 0; --i) {
ir_node *proj = get_irn_out(irg_args, i);
- if (pos == get_Proj_proj(proj)) {
+ if ((int)pos == get_Proj_proj(proj)) {
if (arg) {
/*
* More than one arg node found: