{
PyCursesSetupTermCalled;
- return PyLong_FromLong( (long) tigetflag( capname ) );
+ return PyLong_FromLong( (long) tigetflag( (char *)capname ) );
}
/*[clinic input]
{
PyCursesSetupTermCalled;
- return PyLong_FromLong( (long) tigetnum( capname ) );
+ return PyLong_FromLong( (long) tigetnum( (char *)capname ) );
}
/*[clinic input]
{
PyCursesSetupTermCalled;
- capname = tigetstr( capname );
+ capname = tigetstr( (char *)capname );
if (capname == NULL || capname == (char*) -1) {
Py_RETURN_NONE;
}
PyCursesSetupTermCalled;
- result = tparm(str,i1,i2,i3,i4,i5,i6,i7,i8,i9);
+ result = tparm((char *)str,i1,i2,i3,i4,i5,i6,i7,i8,i9);
if (!result) {
PyErr_SetString(PyCursesError, "tparm() returned NULL");
return NULL;