summaryrefslogtreecommitdiff
path: root/test/example/c-api-kitchen-sink.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/example/c-api-kitchen-sink.c')
-rw-r--r--test/example/c-api-kitchen-sink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/example/c-api-kitchen-sink.c b/test/example/c-api-kitchen-sink.c
index 267e0763d..bc6b4b873 100644
--- a/test/example/c-api-kitchen-sink.c
+++ b/test/example/c-api-kitchen-sink.c
@@ -2161,7 +2161,7 @@ void test_typebuilder() {
fieldMutables,
2);
}
- TypeBuilderSetSubType(builder, tempSubStructIndex, tempStructIndex);
+ TypeBuilderSetSubType(builder, tempSubStructIndex, tempStructHeapType);
// TODO: Rtts (post-MVP?)