diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-10-26 15:31:23 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-10-26 15:31:23 -0400 |
commit | 8bf311c35a97226affb297e164201fa308ee03ce (patch) | |
tree | 2b50e2bf9d71317c21b6268cd49bc9c32ff427b2 /dl/dlsym_reserved.go | |
parent | 4f8c1a3dfc5319fd9261eae367f304a04f47600f (diff) |
dl: fix a pointer/value issue found by go vet
Diffstat (limited to 'dl/dlsym_reserved.go')
-rw-r--r-- | dl/dlsym_reserved.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dl/dlsym_reserved.go b/dl/dlsym_reserved.go index 081e012..e4f9eec 100644 --- a/dl/dlsym_reserved.go +++ b/dl/dlsym_reserved.go @@ -58,6 +58,6 @@ var ( ) func init() { - RTLD_DEFAULT = Handle{c: unsafe.Pointer(uintptr(C.rtld_default)), o: 2} - RTLD_DEFAULT = Handle{c: unsafe.Pointer(uintptr(C.rtld_next)), o: 2} + RTLD_DEFAULT = &Handle{c: unsafe.Pointer(uintptr(C.rtld_default)), o: 2} + RTLD_DEFAULT = &Handle{c: unsafe.Pointer(uintptr(C.rtld_next)), o: 2} } |