Bump ginkgo (#310)

This commit is contained in:
Ettore Di Giacinto
2022-10-18 10:21:33 +02:00
committed by GitHub
parent eecde087e9
commit 5f231da649
287 changed files with 21156 additions and 4289 deletions

View File

@@ -20,10 +20,9 @@ func bytes2iovec(bs [][]byte) []Iovec {
for i, b := range bs {
iovecs[i].SetLen(len(b))
if len(b) > 0 {
// somehow Iovec.Base on illumos is (*int8), not (*byte)
iovecs[i].Base = (*int8)(unsafe.Pointer(&b[0]))
iovecs[i].Base = &b[0]
} else {
iovecs[i].Base = (*int8)(unsafe.Pointer(&_zero))
iovecs[i].Base = (*byte)(unsafe.Pointer(&_zero))
}
}
return iovecs