Commit: 81aeb7ab0888339925e69fc4d34c128932a8c71c
Author: Campbell Barton
Date:   Wed Aug 19 11:23:48 2020 +1000
Branches: soc-2020-custom-menus
https://developer.blender.org/rB81aeb7ab0888339925e69fc4d34c128932a8c71c

Quiet const warning

===================================================================

M       source/blender/makesrna/intern/rna_userdef.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_userdef.c 
b/source/blender/makesrna/intern/rna_userdef.c
index 864a214c405..5104bbb8af7 100644
--- a/source/blender/makesrna/intern/rna_userdef.c
+++ b/source/blender/makesrna/intern/rna_userdef.c
@@ -1293,7 +1293,7 @@ static const EnumPropertyItem 
*rna_UserDef_icons_itemf(bContext *UNUSED(C),
                                                        bool *r_free)
 {
   int totitem = 0;
-  EnumPropertyItem *list = rna_enum_icon_items;
+  const EnumPropertyItem *list = rna_enum_icon_items;
   EnumPropertyItem *item = NULL;
 
   int i;

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to