Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-12-20 02:42:57 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-12-20 02:42:57 +0300
commit9a9f39e4661163391bb8e3eb782438e425abe684 (patch)
treee67dc76e18b408a2708dc5b5f7a7b3e89bd552cf /source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DFloat.cpp
parent6ccef2aa7e010c1e5b6986a696dc27ef8826c6c2 (diff)
Cleanup: remove redundant 'char *' casts
Diffstat (limited to 'source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DFloat.cpp')
-rw-r--r--source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DFloat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DFloat.cpp b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DFloat.cpp
index 95d49612672..ef4de9a77dc 100644
--- a/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DFloat.cpp
+++ b/source/blender/freestyle/intern/python/UnaryFunction1D/BPy_UnaryFunction1DFloat.cpp
@@ -154,10 +154,10 @@ static int integration_type_set(BPy_UnaryFunction1DFloat *self,
}
static PyGetSetDef BPy_UnaryFunction1DFloat_getseters[] = {
- {(char *)"integration_type",
+ {"integration_type",
(getter)integration_type_get,
(setter)integration_type_set,
- (char *)integration_type_doc,
+ integration_type_doc,
NULL},
{NULL, NULL, NULL, NULL, NULL} /* Sentinel */
};