Fix for Go 1.9 that didn't treat typedefs of the same type as the same type
This commit is contained in:
parent
0476e7d58f
commit
c58fb46e56
|
@ -512,7 +512,7 @@ func ReferenceNormalizeName(name string, flags ReferenceFormat) (string, error)
|
|||
cname := C.CString(name)
|
||||
defer C.free(unsafe.Pointer(cname))
|
||||
|
||||
bufSize := C.ulong(1024)
|
||||
bufSize := C.size_t(1024)
|
||||
buf := (*C.char)(C.malloc(bufSize))
|
||||
defer C.free(unsafe.Pointer(buf))
|
||||
|
||||
|
|
Loading…
Reference in New Issue