summaryrefslogtreecommitdiffhomepage
path: root/ir/tr
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2016-05-25 08:09:28 +0200
committerChristoph Mallon <christoph.mallon@gmx.de>2016-05-25 08:09:28 +0200
commit43c7a3c7facac848ce5cd9953b5351817cf49800 (patch)
treef2fa3142ea9ac0db5f65851c674fcbf9a602922a /ir/tr
parent373207f747afcb9ffca92206ce097c134edd6740 (diff)
Avoid 'bool' in public headers.
Diffstat (limited to 'ir/tr')
-rw-r--r--ir/tr/type.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/tr/type.c b/ir/tr/type.c
index 35104f9..24b2286 100644
--- a/ir/tr/type.c
+++ b/ir/tr/type.c
@@ -559,7 +559,7 @@ int (is_Struct_type)(const ir_type *strct)
return is_struct_type_(strct);
}
-ir_type *new_type_method(size_t const n_param, size_t const n_res, bool const is_variadic)
+ir_type *new_type_method(size_t const n_param, size_t const n_res, int const is_variadic)
{
ir_type *res = new_type(tpo_method, sizeof(method_attr), mode_P);
res->flags |= tf_layout_fixed;