Merge branch 'master' into blender2.8
[blender.git] / source / blender / editors / space_view3d / view3d_select.c
index 2862ebd9b2f1ec98fa0c5193f36e30b8d27f4206..2e6ffb63b78d4a9ed552760785361a199cdcfeaa 100644 (file)
@@ -1101,7 +1101,7 @@ static Base *object_mouse_select_menu(
        }
 }
 
-static bool selectbuffer_has_bones(const unsigned int *buffer, const unsigned int hits)
+static bool selectbuffer_has_bones(const uint *buffer, const uint hits)
 {
        unsigned int i;
        for (i = 0; i < hits; i++) {
@@ -1222,8 +1222,9 @@ finally:
 }
 
 /* returns basact */
-static Base *mouse_select_eval_buffer(ViewContext *vc, unsigned int *buffer, int hits,
-                                      Base *startbase, bool has_bones, bool do_nearest)
+static Base *mouse_select_eval_buffer(
+        ViewContext *vc, const uint *buffer, int hits,
+        Base *startbase, bool has_bones, bool do_nearest)
 {
        ViewLayer *view_layer = vc->view_layer;
        Base *base, *basact = NULL;