diff options
Diffstat (limited to 'tun/wintun/namespace_windows.go')
-rw-r--r-- | tun/wintun/namespace_windows.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tun/wintun/namespace_windows.go b/tun/wintun/namespace_windows.go index 4530aee..f4316fe 100644 --- a/tun/wintun/namespace_windows.go +++ b/tun/wintun/namespace_windows.go @@ -37,7 +37,7 @@ func initializeNamespace() error { } wintunObjectSecurityAttributes = &windows.SecurityAttributes{ Length: uint32(unsafe.Sizeof(windows.SecurityAttributes{})), - SecurityDescriptor: uintptr(unsafe.Pointer(sd)), + SecurityDescriptor: sd, } sid, err := windows.CreateWellKnownSid(windows.WinLocalSystemSid) if err != nil { |