mirror of
https://github.com/verilator/verilator.git
synced 2025-01-01 04:07:34 +00:00
Update include/gtkwave from upstream
This commit is contained in:
parent
ad2862ce3f
commit
2641bc98aa
@ -347,8 +347,9 @@ return(NULL);
|
||||
|
||||
static void *fstMmap2(size_t __len, int __fd, fst_off_t __off)
|
||||
{
|
||||
DWORD64 len64 = __len; /* Must be 64-bit for shift below */
|
||||
HANDLE handle = CreateFileMapping((HANDLE)_get_osfhandle(__fd), NULL,
|
||||
PAGE_READWRITE, (DWORD)(__len >> 32),
|
||||
PAGE_READWRITE, (DWORD)(len64 >> 32),
|
||||
(DWORD)__len, NULL);
|
||||
if (!handle) { return NULL; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user