Skip to content

Commit 74535f9

Browse files
committed
Fix build by golang 1.13 (#6)
- use unsafe.Pointer instead of *C.void
1 parent 79d8958 commit 74535f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

alloc.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ import (
1111

1212
//export go_ssl_crypto_ex_free
1313
func go_ssl_crypto_ex_free(
14-
parent *C.void, ptr unsafe.Pointer,
14+
parent unsafe.Pointer, ptr unsafe.Pointer,
1515
cryptoData *C.CRYPTO_EX_DATA, idx C.int,
16-
argl C.long, argp *C.void,
16+
argl C.long, argp unsafe.Pointer,
1717
) {
1818
pointer.Unref(ptr)
1919
}

0 commit comments

Comments
 (0)