Skip to content

fix warning from go vet#27

Open
jmoh932 wants to merge 1 commit intospaolacci:masterfrom
jmoh932:master
Open

fix warning from go vet#27
jmoh932 wants to merge 1 commit intospaolacci:masterfrom
jmoh932:master

Conversation

@jmoh932
Copy link

@jmoh932 jmoh932 commented Nov 20, 2019

the converting from uintptr to unsafe.Pointer is not safe, please refer to the golang document for more detail.

https://golang.org/pkg/unsafe/#Pointer

@radhianamri
Copy link

this commit has fixed my unsafe pointer fatal errors in UTs when running using -race flag

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants