Browse Source

Merge pull request #2775 from laytan/fix-overlapped-entry-type

Fix the OVERLAPPED_ENTRY type definition
Jeroen van Rijn 2 years ago
parent
commit
52ea3748b4
1 changed files with 2 additions and 2 deletions
  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,
 }