We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 277bbad commit 8e6808aCopy full SHA for 8e6808a
bind/gen_slice.go
@@ -409,7 +409,7 @@ otherwise parameter is a python list that we copy from
409
g.gofile.Printf("s := deptrFromHandle_Slice_byte(handle)\n")
410
g.gofile.Printf("ptr := unsafe.Pointer(&s[0])\n")
411
g.gofile.Printf("size := len(s)\n")
412
- g.gofile.Printf("return C.PyBytes_FromStringAndSize((*C.char)(ptr), C.longlong(size))\n")
+ g.gofile.Printf("return C.PyBytes_FromStringAndSize((*C.char)(ptr), C.long(size))\n")
413
g.gofile.Outdent()
414
g.gofile.Printf("}\n\n")
415
0 commit comments