Skip to content

Commit 243d2dd

Browse files
committed
change parameter type
1 parent 3ecae8c commit 243d2dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/win/win.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ func WTSEnumerateProcesses(hServer uintptr, Reserved, Version uint32, ppProcessI
2828
return int32(r1)
2929
}
3030

31-
func WTSFreeMemory(pMemory unsafe.Pointer) {
32-
procWTSFreeMemory.Call(uintptr(pMemory))
31+
func WTSFreeMemory(pMemory uintptr) {
32+
procWTSFreeMemory.Call(pMemory)
3333
}

0 commit comments

Comments
 (0)