Closed
Description
When using C.uchar in code and getting some compilation errors, the error message mentions C.unsignedchar but that doesn't seem the be a valid type.
package main
import "C"
import "fmt"
func main() {
var c C.uchar = "5"
//var c C.unsignedchar = 5
fmt.Println(c)
}
% go run main.go
# command-line-arguments
./main.go:8: cannot use "5" (type string) as type C.unsignedchar in assignment