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>2018-10-07 09:49:22 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-10-07 09:49:22 +0300
commitee2e30683c1c4ebe14096d8e5f64a5a0099343e6 (patch)
tree9a24fc58ba8dd876a0fd29d37131942f70723ee0 /source/blender/python/generic/py_capi_utils.h
parentdb1a04313c3223250b6e6ae1b3652f0a134b8239 (diff)
Cleanup: style
Diffstat (limited to 'source/blender/python/generic/py_capi_utils.h')
-rw-r--r--source/blender/python/generic/py_capi_utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/generic/py_capi_utils.h b/source/blender/python/generic/py_capi_utils.h
index 523712d0cb0..609f8dc1bed 100644
--- a/source/blender/python/generic/py_capi_utils.h
+++ b/source/blender/python/generic/py_capi_utils.h
@@ -132,7 +132,7 @@ Py_LOCAL_INLINE(int64_t) PyC_Long_AsI64(PyObject *value) { return (int64_t)PyLo
Py_LOCAL_INLINE(uint64_t) PyC_Long_AsU64(PyObject *value) { return (uint64_t)PyLong_AsUnsignedLongLong(value); }
/* utils for format string in `struct` module style syntax */
-Py_LOCAL_INLINE(char) PyC_Formatstr_get(char *typestr)
+Py_LOCAL_INLINE(char) PyC_Formatstr_get(const char *typestr)
{
switch (typestr[0]) {
case '!':