diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-12-20 02:42:57 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-12-20 02:42:57 +0300 |
commit | 9a9f39e4661163391bb8e3eb782438e425abe684 (patch) | |
tree | e67dc76e18b408a2708dc5b5f7a7b3e89bd552cf /source/blender/python/intern/bpy_app_opensubdiv.c | |
parent | 6ccef2aa7e010c1e5b6986a696dc27ef8826c6c2 (diff) |
Cleanup: remove redundant 'char *' casts
Diffstat (limited to 'source/blender/python/intern/bpy_app_opensubdiv.c')
-rw-r--r-- | source/blender/python/intern/bpy_app_opensubdiv.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/source/blender/python/intern/bpy_app_opensubdiv.c b/source/blender/python/intern/bpy_app_opensubdiv.c index e6e84ac30c0..2b3c2f18e43 100644 --- a/source/blender/python/intern/bpy_app_opensubdiv.c +++ b/source/blender/python/intern/bpy_app_opensubdiv.c @@ -32,17 +32,16 @@ static PyTypeObject BlenderAppOpenSubdivType; static PyStructSequence_Field app_opensubdiv_info_fields[] = { - {(char *)"supported", (char *)("Boolean, True when Blender is built with OpenSubdiv support")}, - {(char *)("version"), (char *)("The OpenSubdiv version as a tuple of 3 numbers")}, - {(char *)("version_string"), (char *)("The OpenSubdiv version formatted as a string")}, + {"supported", "Boolean, True when Blender is built with OpenSubdiv support"}, + {"version", "The OpenSubdiv version as a tuple of 3 numbers"}, + {"version_string", "The OpenSubdiv version formatted as a string"}, {NULL}, }; static PyStructSequence_Desc app_opensubdiv_info_desc = { - (char *)"bpy.app.opensubdiv", /* name */ - (char - *)"This module contains information about OpenSubdiv blender is linked against", /* doc */ - app_opensubdiv_info_fields, /* fields */ + "bpy.app.opensubdiv", /* name */ + "This module contains information about OpenSubdiv blender is linked against", /* doc */ + app_opensubdiv_info_fields, /* fields */ ARRAY_SIZE(app_opensubdiv_info_fields) - 1, }; |