diff options
Diffstat (limited to 'src/check_type.cpp')
| -rw-r--r-- | src/check_type.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/check_type.cpp b/src/check_type.cpp index 81bc7a0d1..7d4f8ca6e 100644 --- a/src/check_type.cpp +++ b/src/check_type.cpp @@ -1701,7 +1701,8 @@ Type *type_to_abi_compat_param_type(gbAllocator a, Type *original_type) { // Especially the only Odin types case Type_Basic: { i64 sz = bt->Basic.size; - if (sz > 8 && build_context.word_size < 8) { + // if (sz > 8 && build_context.word_size < 8) { + if (sz > 8) { new_type = make_type_pointer(a, original_type); } break; @@ -1742,7 +1743,8 @@ Type *type_to_abi_compat_param_type(gbAllocator a, Type *original_type) { // Especially the only Odin types case Type_Basic: { i64 sz = bt->Basic.size; - if (sz > 8 && build_context.word_size < 8) { + // if (sz > 8 && build_context.word_size < 8) { + if (sz > 8) { new_type = make_type_pointer(a, original_type); } |