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 05:58:40 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-10-04 06:10:26 +0300
commit9f046e95c0a5c4b842d7405111ebab90e1ba63b6 (patch)
tree9819c85321f8278b7aed7f10a0d691759b519bdc /source/blender/blenkernel/intern
parent38f4aeb2d3da02e78307937add8f55ffc4b17845 (diff)
BLI_Buffer: support over 2gb allocations
Also move comment to C-source and enumerate useful features.
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r--source/blender/blenkernel/intern/mesh_mapping.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/mesh_mapping.c b/source/blender/blenkernel/intern/mesh_mapping.c
index cf4c49a9244..cef570a54f5 100644
--- a/source/blender/blenkernel/intern/mesh_mapping.c
+++ b/source/blender/blenkernel/intern/mesh_mapping.c
@@ -97,7 +97,7 @@ UvVertMap *BKE_mesh_uv_vert_map_create(
float (*tf_uv)[2] = NULL;
if (use_winding) {
- tf_uv = (float (*)[2])BLI_buffer_resize_data(&tf_uv_buf, vec2f, mp->totloop);
+ tf_uv = (float (*)[2])BLI_buffer_resize_data(&tf_uv_buf, vec2f, (size_t)mp->totloop);
}
nverts = mp->totloop;