diff options
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/BLI_array_utils.h | 2 | ||||
-rw-r--r-- | source/blender/blenlib/intern/array_utils.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_array_utils.h b/source/blender/blenlib/BLI_array_utils.h index 8f4630dd732..2847bc960ad 100644 --- a/source/blender/blenlib/BLI_array_utils.h +++ b/source/blender/blenlib/BLI_array_utils.h @@ -93,7 +93,7 @@ bool _bli_array_iter_spiral_square(const void *arr_v, const int arr_shape[2], const size_t elem_size, const int center[2], - const bool (*test_fn)(const void *arr_item, void *user_data), + bool (*test_fn)(const void *arr_item, void *user_data), void *user_data); #define BLI_array_iter_spiral_square(arr, arr_shape, center, test_fn, user_data) \ _bli_array_iter_spiral_square(arr, arr_shape, sizeof(*(arr)), center, test_fn, user_data) diff --git a/source/blender/blenlib/intern/array_utils.c b/source/blender/blenlib/intern/array_utils.c index 5d35cf09c30..5bf50b029a5 100644 --- a/source/blender/blenlib/intern/array_utils.c +++ b/source/blender/blenlib/intern/array_utils.c @@ -330,7 +330,7 @@ bool _bli_array_iter_spiral_square(const void *arr_v, const int arr_shape[2], size_t elem_size, const int center[2], - const bool (*test_fn)(const void *arr_item, void *user_data), + bool (*test_fn)(const void *arr_item, void *user_data), void *user_data) { BLI_assert(center[0] >= 0 && center[1] >= 0 && center[0] < arr_shape[0] && |