From 53bab6c2c41d82c39668a2ea7ad9f018ffa6e9f5 Mon Sep 17 00:00:00 2001 From: Lily Orth-Smith Date: Mon, 13 Jul 2020 10:32:28 -0700 Subject: [PATCH] fixed build error --- src/runtime/library_module.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/library_module.cc b/src/runtime/library_module.cc index 7c3323c56229..b12a9d195e2e 100644 --- a/src/runtime/library_module.cc +++ b/src/runtime/library_module.cc @@ -74,7 +74,7 @@ PackedFunc WrapPackedFunc(TVMBackendPackedCFunc faddr, const ObjectPtr& TVMValue ret_value; int ret_type_code = kTVMNullptr; int ret = (*faddr)(const_cast(args.values), const_cast(args.type_codes), - args.num_args, &ret_value, &ret_type_code); + args.num_args, &ret_value, &ret_type_code, NULL); CHECK_EQ(ret, 0) << TVMGetLastError(); if (ret_type_code != kTVMNullptr) { *rv = TVMRetValue::MoveFromCHost(ret_value, ret_type_code);