Commit: e00364c88e113dbee14359727f80be0f410a836f
Author: Sergey Sharybin
Date:   Wed Aug 9 14:58:49 2017 +0200
Branches: blender2.8
https://developer.blender.org/rBe00364c88e113dbee14359727f80be0f410a836f

Fix strict compiler flags on 32bit Linux

===================================================================

M       source/blender/blenlib/intern/BLI_memiter.c

===================================================================

diff --git a/source/blender/blenlib/intern/BLI_memiter.c 
b/source/blender/blenlib/intern/BLI_memiter.c
index 6befdbc54c4..04f47da35e9 100644
--- a/source/blender/blenlib/intern/BLI_memiter.c
+++ b/source/blender/blenlib/intern/BLI_memiter.c
@@ -192,7 +192,7 @@ void *BLI_memiter_alloc(BLI_memiter *mi, uint elem_size)
        BLI_assert(data_curr_next <= mi->data_last);
 
        BLI_memiter_elem *elem      = (BLI_memiter_elem *)mi->data_curr;
-       elem->size = elem_size;
+       elem->size = (offset_t)elem_size
        mi->data_curr = data_curr_next;
 
 #ifdef USE_TERMINATE_PARANOID

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to