mirror of https://github.com/hak5/bolt.git
Minor fixes.
parent
e99a24eb44
commit
d52d142275
|
@ -447,7 +447,7 @@ func (b *Bucket) spill() error {
|
||||||
|
|
||||||
// Update the child bucket header in this bucket.
|
// Update the child bucket header in this bucket.
|
||||||
value = make([]byte, unsafe.Sizeof(bucket{}))
|
value = make([]byte, unsafe.Sizeof(bucket{}))
|
||||||
bucket := (*bucket)(unsafe.Pointer(&value[0]))
|
var bucket = (*bucket)(unsafe.Pointer(&value[0]))
|
||||||
*bucket = *child.bucket
|
*bucket = *child.bucket
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue