diff --git a/keyring_windows.go b/keyring_windows.go index 66f3c8e..f0aec15 100644 --- a/keyring_windows.go +++ b/keyring_windows.go @@ -84,12 +84,12 @@ func goBytes(src uintptr, len uint32) []byte { return []byte{} } rv := make([]byte, len) - copy(rv, *(*[]byte)(unsafe.Pointer(&struct { + copy(rv, *(*[]byte)(unsafe.Pointer(&struct { // nosemgrep Data unsafe.Pointer Len int Cap int }{ - Data: unsafe.Pointer(src), + Data: unsafe.Pointer(src), // nosemgrep Len: int(len), Cap: int(len), })))