Update include/gtkwave from upstream

This commit is contained in:
Wilson Snyder 2024-06-15 08:14:43 -04:00
parent ad2862ce3f
commit 2641bc98aa

View File

@ -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; }