diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-03-10 07:35:43 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-03-10 07:35:58 +0300 |
commit | 3e67e2a36e92fad95099dada8727486746722428 (patch) | |
tree | edee3af5d49135f030a5dde14e7f289488c3e340 /source/blender/blenlib | |
parent | 53b82efed66baddff3b7ef6c93a919ef10f4ef42 (diff) |
Cleanup: compiler warning (ignored-qualifiers)
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] && |