Another fix for msys CI

This commit is contained in:
Cary R 2025-10-21 00:26:52 -07:00
parent 0b7bd36960
commit b7292e0179
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ void vpip_load_module(const char*name)
#if defined(__MINGW32__) || defined (__CYGWIN__)
void*function = ivl_dlsym(dll, "vpip_set_callback");
if (function) {
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)) {
fprintf(stderr, "Failed to link VPI module %s. Try rebuilding it with iverilog-vpi.\n", name);
ivl_dlclose(dll);