mirror of
https://github.com/verilator/verilator.git
synced 2025-04-04 19:52:39 +00:00
Internals: Remove C-style cast in VPI_HANDLE (#5088)
This commit is contained in:
parent
8fd038f88e
commit
4a41f69293
@ -81,4 +81,5 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
#define VPI_HANDLE(signal) vpi_handle_by_name((PLI_BYTE8*)TestSimulator::rooted(signal), NULL);
|
||||
#define VPI_HANDLE(signal) \
|
||||
vpi_handle_by_name(const_cast<PLI_BYTE8*>(TestSimulator::rooted(signal)), nullptr);
|
||||
|
Loading…
Reference in New Issue
Block a user