mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Cleanup: compiler warning (ignored-qualifiers)
This commit is contained in:
parent
53b82efed6
commit
3e67e2a36e
2 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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] &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue