diff options
author | Joshua Leung <aligorith@gmail.com> | 2018-07-30 17:57:53 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2018-07-30 18:04:32 +0300 |
commit | d28248595b5936ed5f268418ff9905200660ec69 (patch) | |
tree | 4052254f0ae7a749ee26ac8cfaa8c0a77b52f4e3 /source/blender/makesrna/intern/rna_define.c | |
parent | a3b6ae9fb9dd76538ec04b9fa6953490d321dd32 (diff) |
Silencing a bunch of compiler warnings
Most of these were mismatched const qualifiers
Diffstat (limited to 'source/blender/makesrna/intern/rna_define.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_define.c | 2 |
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 c84ce56c58b..4964e94652c 100644 --- a/source/blender/makesrna/intern/rna_define.c +++ b/source/blender/makesrna/intern/rna_define.c @@ -2282,7 +2282,7 @@ void RNA_def_property_update_runtime(PropertyRNA *prop, const void *func) void RNA_def_property_poll_runtime(PropertyRNA *prop, const void *func) { if (prop->type == PROP_POINTER) { - ((PointerPropertyRNA *)prop)->poll = func; + ((PointerPropertyRNA *)prop)->poll = (void *)func; } else { fprintf(stderr, "%s: %s is not a Pointer Property.\n", __func__, prop->identifier); |