diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-10-04 08:44:45 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-10-04 08:52:55 +0300 |
commit | 08f728a3e91a7c62946847e89632390c400d55ea (patch) | |
tree | 831b9fb63bb5a7c83ae527f150137082884558ab /source/blender/python | |
parent | d3f0fa12771600926c74c008869bfb3de5741c42 (diff) |
Cleanup: redundant casts
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/generic/bpy_internal_import.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/generic/bpy_internal_import.c b/source/blender/python/generic/bpy_internal_import.c index 582a0d22d2f..ffac09efdde 100644 --- a/source/blender/python/generic/bpy_internal_import.c +++ b/source/blender/python/generic/bpy_internal_import.c @@ -253,7 +253,7 @@ PyObject *bpy_text_reimport(PyObject *module, int *found) if (module_file == NULL) { return NULL; } - filepath = (char *)_PyUnicode_AsString(module_file); + filepath = _PyUnicode_AsString(module_file); Py_DECREF(module_file); if (filepath == NULL) { return NULL; |