Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2015-10-04 07:11:38 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-10-04 07:11:38 +0300
commit5884a0d66e808631b82dd8c467b01f99d41e27cb (patch)
treece81a6921a1be849b9465c3d8a87f05573a68439 /source/blender/blenlib/BLI_buffer.h
parenta3cf6611085ccf7ee06dd64c5f2bbb7d8859613a (diff)
Correct last commit, picky type warnings
Diffstat (limited to 'source/blender/blenlib/BLI_buffer.h')
-rw-r--r--source/blender/blenlib/BLI_buffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_buffer.h b/source/blender/blenlib/BLI_buffer.h
index a9ecd3a4627..6ea9e765c1d 100644
--- a/source/blender/blenlib/BLI_buffer.h
+++ b/source/blender/blenlib/BLI_buffer.h
@@ -64,7 +64,7 @@ enum {
#define BLI_buffer_at(buffer_, type_, index_) ( \
(((type_ *)(buffer_)->data)[ \
(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_]))
#define BLI_buffer_array(buffer_, type_) ( \