diff options
Diffstat (limited to 'llgo/third_party/gofrontend/libgo/runtime/go-convert-interface.c')
-rw-r--r-- | llgo/third_party/gofrontend/libgo/runtime/go-convert-interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llgo/third_party/gofrontend/libgo/runtime/go-convert-interface.c b/llgo/third_party/gofrontend/libgo/runtime/go-convert-interface.c index 3eee6bf4a8f..0e8a3062435 100644 --- a/llgo/third_party/gofrontend/libgo/runtime/go-convert-interface.c +++ b/llgo/third_party/gofrontend/libgo/runtime/go-convert-interface.c @@ -41,7 +41,7 @@ __go_convert_interface_2 (const struct __go_type_descriptor *lhs_descriptor, return NULL; } - __go_assert (lhs_descriptor->__code == GO_INTERFACE); + __go_assert ((lhs_descriptor->__code & GO_CODE_MASK) == GO_INTERFACE); lhs_interface = (const struct __go_interface_type *) lhs_descriptor; lhs_method_count = lhs_interface->__methods.__count; lhs_methods = ((const struct __go_interface_method *) |