From f35efbc95af7bb85adeb19c451e492daf477683d Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 13 Aug 2010 14:42:45 +0000 Subject: - remove WM_operatortype_exists since its almost the same as WM_operatortype_find - hopefully fix reported problem with MSVC. --- source/blender/makesrna/intern/rna_access.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/makesrna/intern/rna_access.c') diff --git a/source/blender/makesrna/intern/rna_access.c b/source/blender/makesrna/intern/rna_access.c index 8e7a2a8cab3..050f00b6a38 100644 --- a/source/blender/makesrna/intern/rna_access.c +++ b/source/blender/makesrna/intern/rna_access.c @@ -574,7 +574,7 @@ FunctionRNA *RNA_struct_find_function(PointerRNA *ptr, const char *identifier) FunctionRNA *func; StructRNA *type; for(type= ptr->type; type; type= type->base) { - func= BLI_findstring_ptr(&type->functions, identifier, offsetof(FunctionRNA, identifier)); + func= (FunctionRNA *)BLI_findstring_ptr(&type->functions, identifier, offsetof(FunctionRNA, identifier)); if(func) { return func; } -- cgit v1.2.3