]> Cypherpunks repositories - gostls13.git/commitdiff
windows: fix syscall.SidTypeUser so following consts have correct values.
authorBrian Dellisanti <briandellisanti@gmail.com>
Wed, 20 Feb 2013 04:38:35 +0000 (15:38 +1100)
committerAlex Brainman <alex.brainman@gmail.com>
Wed, 20 Feb 2013 04:38:35 +0000 (15:38 +1100)
Fixes #4844.

R=golang-dev, alex.brainman
CC=golang-dev
https://golang.org/cl/7366043

src/pkg/syscall/security_windows.go

index 71aef2fcafe2c230cb7221177d3dbc42dbe66060..017b270146f04aa9e592cb0ae3a15d45e6b51e6a 100644 (file)
@@ -70,7 +70,7 @@ type UserInfo10 struct {
 
 const (
        // do not reorder
-       SidTypeUser = 1 << iota
+       SidTypeUser = 1 + iota
        SidTypeGroup
        SidTypeDomain
        SidTypeAlias