Correct last commit, picky type warnings
This commit is contained in:
parent
a3cf661108
commit
5884a0d66e
|
@ -64,7 +64,7 @@ enum {
|
||||||
#define BLI_buffer_at(buffer_, type_, index_) ( \
|
#define BLI_buffer_at(buffer_, type_, index_) ( \
|
||||||
(((type_ *)(buffer_)->data)[ \
|
(((type_ *)(buffer_)->data)[ \
|
||||||
(BLI_assert(sizeof(type_) == (buffer_)->elem_size)), \
|
(BLI_assert(sizeof(type_) == (buffer_)->elem_size)), \
|
||||||
(BLI_assert((int)index_ >= 0 && (size_t)index_ < (buffer_)->count)), \
|
(BLI_assert((int)(index_) >= 0 && (size_t)(index_) < (buffer_)->count)), \
|
||||||
index_]))
|
index_]))
|
||||||
|
|
||||||
#define BLI_buffer_array(buffer_, type_) ( \
|
#define BLI_buffer_array(buffer_, type_) ( \
|
||||||
|
|
Loading…
Reference in New Issue