Fix msys2 compile issue in CI

This commit is contained in:
Cary R 2025-10-21 00:15:51 -07:00
parent 860761f9c6
commit 0b7bd36960
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ bool load_vpi_module(const char*path)
ivl_dlclose(dll);
return true;
}
vpip_set_callback_t set_callback = static_cast<vpip_set_callback_t>(function);
vpip_set_callback_t set_callback = (vpip_set_callback_t)function;
if (!set_callback(&vpi_routines, vpip_routines_version)) {
cerr << "error: Failed to link '" << path << "'. "
"Try rebuilding it with iverilog-vpi." << endl;