Browse Source

Merge pull request #3857 from flysand7/tlhelp-modentry

[sys/windows]: Fix the type declaration for MODULEENTRY32W
Jeroen van Rijn 1 year ago
parent
commit
0697fd0101
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/sys/windows/tlhelp.odin

+ 1 - 1
core/sys/windows/tlhelp.odin

@@ -68,7 +68,7 @@ MODULEENTRY32W :: struct {
 	th32ProcessID: DWORD,
 	GlblcntUsage: DWORD,
 	ProccntUsage: DWORD,
-	modBaseAddr: BYTE,
+	modBaseAddr: ^BYTE,
 	modBaseSize: DWORD,
 	hModule: HMODULE,
 	szModule: [MAX_MODULE_NAME32 + 1]WCHAR,