ipc/winpipe: go fmt
Signed-off-by: Matt Layher <mdlayher@gmail.com>
This commit is contained in:
parent
da61947ec3
commit
80ef2a42e6
|
@ -26,4 +26,4 @@ func SddlToSecurityDescriptor(sddl string) ([]byte, error) {
|
||||||
sd := make([]byte, getSecurityDescriptorLength(sdBuffer))
|
sd := make([]byte, getSecurityDescriptorLength(sdBuffer))
|
||||||
copy(sd, (*[0xffff]byte)(unsafe.Pointer(sdBuffer))[:len(sd)])
|
copy(sd, (*[0xffff]byte)(unsafe.Pointer(sdBuffer))[:len(sd)])
|
||||||
return sd, nil
|
return sd, nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue