Skip to content

Commit

Permalink
fixed build error
Browse files Browse the repository at this point in the history
  • Loading branch information
Lily Orth-Smith authored and Lily Orth-Smith committed Jul 14, 2020
1 parent b9c8767 commit 53bab6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/library_module.cc
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ PackedFunc WrapPackedFunc(TVMBackendPackedCFunc faddr, const ObjectPtr<Object>&
TVMValue ret_value;
int ret_type_code = kTVMNullptr;
int ret = (*faddr)(const_cast<TVMValue*>(args.values), const_cast<int*>(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);
Expand Down

0 comments on commit 53bab6c

Please sign in to comment.