x/sys/windows: uintptr(unsafe.Pointer) calls outside of syscalls #67437
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
help wanted
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
OS-Windows
Milestone
Documentation states:
However, there are calls within
/x/sys/windows
that do not follow this requirement. For an example, this call is casting anunsafe.Pointer
touintptr
then is then passed to hereThe generated calls in windows/zsyscall_windows.go should likely accept
unsafe.Pointer
arguments instead ofuintptr.
Examples
The text was updated successfully, but these errors were encountered: