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_openvdb.c | |
parent | 6ccef2aa7e010c1e5b6986a696dc27ef8826c6c2 (diff) |
Cleanup: remove redundant 'char *' casts
Diffstat (limited to 'source/blender/python/intern/bpy_app_openvdb.c')
-rw-r--r-- | source/blender/python/intern/bpy_app_openvdb.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/python/intern/bpy_app_openvdb.c b/source/blender/python/intern/bpy_app_openvdb.c index a3d02294c07..80732b7fecb 100644 --- a/source/blender/python/intern/bpy_app_openvdb.c +++ b/source/blender/python/intern/bpy_app_openvdb.c @@ -35,16 +35,16 @@ static PyTypeObject BlenderAppOVDBType; static PyStructSequence_Field app_openvdb_info_fields[] = { - {(char *)"supported", (char *)("Boolean, True when Blender is built with OpenVDB support")}, - {(char *)("version"), (char *)("The OpenVDB version as a tuple of 3 numbers")}, - {(char *)("version_string"), (char *)("The OpenVDB version formatted as a string")}, + {"supported", "Boolean, True when Blender is built with OpenVDB support"}, + {"version", "The OpenVDB version as a tuple of 3 numbers"}, + {"version_string", "The OpenVDB version formatted as a string"}, {NULL}, }; static PyStructSequence_Desc app_openvdb_info_desc = { - (char *)"bpy.app.openvdb", /* name */ - (char *)"This module contains information about OpenVDB blender is linked against", /* doc */ - app_openvdb_info_fields, /* fields */ + "bpy.app.openvdb", /* name */ + "This module contains information about OpenVDB blender is linked against", /* doc */ + app_openvdb_info_fields, /* fields */ ARRAY_SIZE(app_openvdb_info_fields) - 1, }; |