-
Notifications
You must be signed in to change notification settings - Fork 18.3k
Closed
Labels
Milestone
Description
by os2nuke:
This is a link to the related issue with C.malloc: https://golang.org/issue/5926 What steps will reproduce the problem? Build a cgo program which uses C.calloc() and pass a C.size_t parameter. What is the expected output? Build without errors. What do you see instead? cannot use _Ctype_size_t(length + 1) (type C.size_t) as type C.ulong in function argument Which operating system are you using? OS X 10.9 Mavericks Which version are you using? (run 'go version') go version devel +67b829e5a2a8 Fri Sep 27 20:38:52 2013 -0700 darwin/amd64 Please provide any additional information below.