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>2014-02-15 11:21:07 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-02-15 11:21:07 +0400
commit004decc1d940a7d744ffcc63f4e53dd727dfea34 (patch)
treefe224d1baa1dfa71063778ee291cdd4265401068 /source/blender/makesrna/intern/rna_define.c
parent56f6bc06d3c322d2f51a88b96c7367bc5dfeaf37 (diff)
Code cleanup: warnings
Diffstat (limited to 'source/blender/makesrna/intern/rna_define.c')
-rw-r--r--source/blender/makesrna/intern/rna_define.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_define.c b/source/blender/makesrna/intern/rna_define.c
index 4baca862682..ce55a452d3e 100644
--- a/source/blender/makesrna/intern/rna_define.c
+++ b/source/blender/makesrna/intern/rna_define.c
@@ -2143,7 +2143,7 @@ void RNA_def_property_update(PropertyRNA *prop, int noteflag, const char *func)
void RNA_def_property_update_runtime(PropertyRNA *prop, const void *func)
{
- prop->update = func;
+ prop->update = (void *)func;
}
void RNA_def_property_dynamic_array_funcs(PropertyRNA *prop, const char *getlength)