Windows: Fix NtAllocateVirtualMemory prototype.

This commit is contained in:
Mike Pall 2020-06-23 03:13:54 +02:00
parent 2e68e1fc18
commit 17fb96d904

View File

@ -124,7 +124,7 @@
#if LJ_ALLOC_NTAVM #if LJ_ALLOC_NTAVM
/* Undocumented, but hey, that's what we all love so much about Windows. */ /* Undocumented, but hey, that's what we all love so much about Windows. */
typedef long (*PNTAVM)(HANDLE handle, void **addr, ULONG zbits, typedef long (*PNTAVM)(HANDLE handle, void **addr, ULONG_PTR zbits,
size_t *size, ULONG alloctype, ULONG prot); size_t *size, ULONG alloctype, ULONG prot);
static PNTAVM ntavm; static PNTAVM ntavm;