aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bucket.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bucket.go b/bucket.go
index b8dbf25..25ad1ba 100644
--- a/bucket.go
+++ b/bucket.go
@@ -447,7 +447,7 @@ func (b *Bucket) spill() error {
// Update the child bucket header in this bucket.
value = make([]byte, unsafe.Sizeof(bucket{}))
- bucket := (*bucket)(unsafe.Pointer(&value[0]))
+ var bucket = (*bucket)(unsafe.Pointer(&value[0]))
*bucket = *child.bucket
}