Cleanup: remove redundant 'char *' casts

This commit is contained in:
2019-12-20 10:42:57 +11:00
parent 6ccef2aa7e
commit 9a9f39e466
73 changed files with 692 additions and 1002 deletions

View File

@@ -162,8 +162,8 @@ static int Id_second_set(BPy_Id *self, PyObject *value, void *UNUSED(closure))
}
static PyGetSetDef BPy_Id_getseters[] = {
{(char *)"first", (getter)Id_first_get, (setter)Id_first_set, (char *)Id_first_doc, NULL},
{(char *)"second", (getter)Id_second_get, (setter)Id_second_set, (char *)Id_second_doc, NULL},
{"first", (getter)Id_first_get, (setter)Id_first_set, Id_first_doc, NULL},
{"second", (getter)Id_second_get, (setter)Id_second_set, Id_second_doc, NULL},
{NULL, NULL, NULL, NULL, NULL} /* Sentinel */
};