diff --git a/acl/aclbit.go b/acl/aclbit.go index bad609e..279b62e 100644 --- a/acl/aclbit.go +++ b/acl/aclbit.go @@ -27,7 +27,7 @@ func veryNumBit(n NumBit) bool { } // unite slice int to int64 -func Unite(a ...AclBit) AclBit { +func Unite(a []AclBit) AclBit { var endacl AclBit for _, a0 := range a { endacl = endacl | a0