Explorar o código

Windows: Fix NtAllocateVirtualMemory prototype.

Mike Pall %!s(int64=5) %!d(string=hai) anos
pai
achega
17fb96d904
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/lj_alloc.c

+ 1 - 1
src/lj_alloc.c

@@ -124,7 +124,7 @@
 
 #if LJ_ALLOC_NTAVM
 /* 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);
 static PNTAVM ntavm;