Skip to content
2 changes: 1 addition & 1 deletion web/emcc/tvmjs_support.cc
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ class AsyncLocalSession : public LocalSession {
// pass the callback as the last argument.
setter(num_args, packed_callback);

auto* pf = static_cast<PackedFunc*>(func);
auto* pf = static_cast<PackedFuncObj*>(func);
pf->CallPacked(TVMArgs(values.data(), type_codes.data(), num_args + 1), &temp);
} else if (func == get_time_eval_placeholder_.get()) {
// special handle time evaluator.
Expand Down