From 6734936c13b379e299bfb45915a99b605ae450c6 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 4 Jan 2014 18:08:43 +1100 Subject: RNA API: use bool's for enum itemf callbacks. --- source/blender/makesrna/intern/rna_texture.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/makesrna/intern/rna_texture.c') diff --git a/source/blender/makesrna/intern/rna_texture.c b/source/blender/makesrna/intern/rna_texture.c index a26272b34ce..b453965d21f 100644 --- a/source/blender/makesrna/intern/rna_texture.c +++ b/source/blender/makesrna/intern/rna_texture.c @@ -367,7 +367,7 @@ static int rna_TextureSlot_output_node_get(PointerRNA *ptr) static EnumPropertyItem *rna_TextureSlot_output_node_itemf(bContext *UNUSED(C), PointerRNA *ptr, - PropertyRNA *UNUSED(prop), int *free) + PropertyRNA *UNUSED(prop), bool *r_free) { MTex *mtex = ptr->data; Tex *tex = mtex->tex; @@ -397,7 +397,7 @@ static EnumPropertyItem *rna_TextureSlot_output_node_itemf(bContext *UNUSED(C), } RNA_enum_item_end(&item, &totitem); - *free = 1; + *r_free = true; return item; } -- cgit v1.2.3