diff options
Diffstat (limited to 'gcc/brig/brig-lang.c')
-rw-r--r-- | gcc/brig/brig-lang.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/brig/brig-lang.c b/gcc/brig/brig-lang.c index c05f97257fb..2b58209a397 100644 --- a/gcc/brig/brig-lang.c +++ b/gcc/brig/brig-lang.c @@ -479,11 +479,11 @@ def_fn_type (builtin_type def, builtin_type ret, bool var, int n, ...) The later results in segfaults even when a decl using the type doesn't get invoked. */ -static tree +static ttype * builtin_type_for_size (int size, bool unsignedp) { tree type = brig_langhook_type_for_size (size, unsignedp); - return type ? type : error_mark_node; + return TTYPE (type ? type : error_mark_node); } /* Support for DEF_BUILTIN. */ |