Cleanup: Fix const warning in makesrna
rna_function_string was not const correct leading to different 'const' qualifiers (C4090) warnings in MSVC.
This commit is contained in:
parent
3a8f543b61
commit
55814cd31f
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue