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:
authorRay Molenkamp <github@lazydodo.com>2019-05-27 20:34:04 +0300
committerRay Molenkamp <github@lazydodo.com>2019-05-27 20:34:04 +0300
commit55814cd31ff4f8a76f0bab18928d9a46591269f1 (patch)
tree33a0649b140cb63cc41917df2a559a77ccdee416 /source/blender/makesrna/intern/makesrna.c
parent3a8f543b61c0b1bc589556699726058185c28b18 (diff)
Cleanup: Fix const warning in makesrna
rna_function_string was not const correct leading to different 'const' qualifiers (C4090) warnings in MSVC.
Diffstat (limited to 'source/blender/makesrna/intern/makesrna.c')
-rw-r--r--source/blender/makesrna/intern/makesrna.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/makesrna.c b/source/blender/makesrna/intern/makesrna.c
index 35045a3a408..7eee3661074 100644
--- a/source/blender/makesrna/intern/makesrna.c
+++ b/source/blender/makesrna/intern/makesrna.c
@@ -567,7 +567,7 @@ static int rna_color_quantize(PropertyRNA *prop, PropertyDefRNA *dp)
(IS_DNATYPE_FLOAT_COMPAT(dp->dnatype) == 0));
}
-static const char *rna_function_string(void *func)
+static const char *rna_function_string(const void *func)
{
return (func) ? (const char *)func : "NULL";
}