From 9a9f39e4661163391bb8e3eb782438e425abe684 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 20 Dec 2019 10:42:57 +1100 Subject: Cleanup: remove redundant 'char *' casts --- source/blender/freestyle/intern/python/BPy_Id.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/freestyle/intern/python/BPy_Id.cpp') diff --git a/source/blender/freestyle/intern/python/BPy_Id.cpp b/source/blender/freestyle/intern/python/BPy_Id.cpp index 2c50767c5aa..4f61ba847f6 100644 --- a/source/blender/freestyle/intern/python/BPy_Id.cpp +++ b/source/blender/freestyle/intern/python/BPy_Id.cpp @@ -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 */ }; -- cgit v1.2.3