Sfoglia il codice sorgente

Fix the OVERLAPPED_ENTRY type definition

Laytan Laats 2 anni fa
parent
commit
0a2678973b
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      core/sys/windows/types.odin

+ 2 - 2
core/sys/windows/types.odin

@@ -2475,9 +2475,9 @@ OVERLAPPED :: struct {
 }
 
 OVERLAPPED_ENTRY :: struct {
-	lpCompletionKey:            c_ulong,
+	lpCompletionKey:            ULONG_PTR,
 	lpOverlapped:               ^OVERLAPPED,
-	Internal:                   c_ulong,
+	Internal:                   ULONG_PTR,
 	dwNumberOfBytesTransferred: DWORD,
 }