summaryrefslogtreecommitdiffhomepage
path: root/tun/wintun/namespace_windows.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-09-21 21:13:54 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-10-04 11:41:02 +0200
commitcb8d01f58a0057b437b1a448f9d8ba25bcc6d8da (patch)
tree1409d0282d62f085fb73e3200987acb7e8109c0f /tun/wintun/namespace_windows.go
parent01f8ef4e84a0354d33c32130f11c88d37d5f514d (diff)
mod: bump versions
Diffstat (limited to 'tun/wintun/namespace_windows.go')
-rw-r--r--tun/wintun/namespace_windows.go2
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 {