Fix msys2 compile issue in CI
This commit is contained in:
parent
860761f9c6
commit
0b7bd36960
|
|
@ -253,7 +253,7 @@ bool load_vpi_module(const char*path)
|
||||||
ivl_dlclose(dll);
|
ivl_dlclose(dll);
|
||||||
return true;
|
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)) {
|
if (!set_callback(&vpi_routines, vpip_routines_version)) {
|
||||||
cerr << "error: Failed to link '" << path << "'. "
|
cerr << "error: Failed to link '" << path << "'. "
|
||||||
"Try rebuilding it with iverilog-vpi." << endl;
|
"Try rebuilding it with iverilog-vpi." << endl;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue