aboutsummaryrefslogtreecommitdiffstats
path: root/src/ortho/gcc/ortho-lang-8.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ortho/gcc/ortho-lang-8.c')
-rw-r--r--src/ortho/gcc/ortho-lang-8.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ortho/gcc/ortho-lang-8.c b/src/ortho/gcc/ortho-lang-8.c
index 5b253aee2..51b4a86f8 100644
--- a/src/ortho/gcc/ortho-lang-8.c
+++ b/src/ortho/gcc/ortho-lang-8.c
@@ -1719,8 +1719,10 @@ new_interface_decl (struct o_inter_list *interfaces,
case ENUMERAL_TYPE:
case BOOLEAN_TYPE:
DECL_ARG_TYPE (r) = integer_type_node;
+ break;
default:
DECL_ARG_TYPE (r) = atype;
+ break;
}
layout_decl (r, 0);