diff options
author | Ray Molenkamp <github@lazydodo.com> | 2019-05-27 20:34:04 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2019-05-27 20:34:04 +0300 |
commit | 55814cd31ff4f8a76f0bab18928d9a46591269f1 (patch) | |
tree | 33a0649b140cb63cc41917df2a559a77ccdee416 | |
parent | 3a8f543b61c0b1bc589556699726058185c28b18 (diff) |
Cleanup: Fix const warning in makesrna
rna_function_string was not const correct leading to
different 'const' qualifiers (C4090) warnings in MSVC.
-rw-r--r-- | source/blender/makesrna/intern/makesrna.c | 2 |
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"; } |