From d5953568c8b3ce1980c4cd872251042c72ac07e9 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 9 Apr 2012 07:06:06 +0000 Subject: use 'const float[3]' for derived mesh callback args. --- source/blender/editors/mesh/editmesh_bvh.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/editors/mesh/editmesh_bvh.c') diff --git a/source/blender/editors/mesh/editmesh_bvh.c b/source/blender/editors/mesh/editmesh_bvh.c index 37c4897cede..f9c673010f3 100644 --- a/source/blender/editors/mesh/editmesh_bvh.c +++ b/source/blender/editors/mesh/editmesh_bvh.c @@ -69,8 +69,8 @@ typedef struct BMBVHTree { Scene *scene; } BMBVHTree; -static void cage_mapped_verts_callback(void *userData, int index, float *co, - float *UNUSED(no_f), short *UNUSED(no_s)) +static void cage_mapped_verts_callback(void *userData, int index, const float co[3], + const float UNUSED(no_f[3]), const short UNUSED(no_s[3])) { void **data = userData; BMEditMesh *em = data[0]; -- cgit v1.2.3