Skip to content

Commit

Permalink
Merge pull request #1 from kirillDanshin/patch-1
Browse files Browse the repository at this point in the history
Fix type in 01_unsafe_test.go
  • Loading branch information
onokonem committed Nov 8, 2018
2 parents 02ae20f + 9abaa41 commit 5f6f5ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 04_unsafe/01_unsafe_test.go
Expand Up @@ -26,7 +26,7 @@ func encodeMut(data []uint64) (res []byte) {
len: sz,
cap: sz,
}
res = *(*[]byte)(unsafe.Pointer(&rh))
res = *(*[]byte)(unsafe.Pointer(rh))
return
}

Expand Down

0 comments on commit 5f6f5ff

Please sign in to comment.