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_ocio.c | |
parent | 6ccef2aa7e010c1e5b6986a696dc27ef8826c6c2 (diff) |
Cleanup: remove redundant 'char *' casts
Diffstat (limited to 'source/blender/python/intern/bpy_app_ocio.c')
-rw-r--r-- | source/blender/python/intern/bpy_app_ocio.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/source/blender/python/intern/bpy_app_ocio.c b/source/blender/python/intern/bpy_app_ocio.c index 9dcadbac2af..750fe93d1de 100644 --- a/source/blender/python/intern/bpy_app_ocio.c +++ b/source/blender/python/intern/bpy_app_ocio.c @@ -32,18 +32,17 @@ static PyTypeObject BlenderAppOCIOType; static PyStructSequence_Field app_ocio_info_fields[] = { - {(char *)"supported", - (char *)("Boolean, True when Blender is built with OpenColorIO support")}, - {(char *)("version"), (char *)("The OpenColorIO version as a tuple of 3 numbers")}, - {(char *)("version_string"), (char *)("The OpenColorIO version formatted as a string")}, + {"supported", "Boolean, True when Blender is built with OpenColorIO support"}, + {"version", "The OpenColorIO version as a tuple of 3 numbers"}, + {"version_string", "The OpenColorIO version formatted as a string"}, {NULL}, }; static PyStructSequence_Desc app_ocio_info_desc = { /* name */ - (char *)"bpy.app.ocio", + "bpy.app.ocio", /* doc */ - (char *)"This module contains information about OpenColorIO blender is linked against", + "This module contains information about OpenColorIO blender is linked against", /* fields */ app_ocio_info_fields, ARRAY_SIZE(app_ocio_info_fields) - 1, |