[Bf-blender-cvs] [83a855a8a1f] temp_bmesh_multires: fix compile error
Joseph Eagar
noreply at git.blender.org
Tue Apr 27 22:38:27 CEST 2021
Commit: 83a855a8a1f89b68786b7edd03995fc48a62849b
Author: Joseph Eagar
Date: Tue Apr 27 13:38:14 2021 -0700
Branches: temp_bmesh_multires
https://developer.blender.org/rB83a855a8a1f89b68786b7edd03995fc48a62849b
fix compile error
===================================================================
M source/blender/blenlib/intern/BLI_mempool.c
===================================================================
diff --git a/source/blender/blenlib/intern/BLI_mempool.c b/source/blender/blenlib/intern/BLI_mempool.c
index f5d318286c6..99c2e78e360 100644
--- a/source/blender/blenlib/intern/BLI_mempool.c
+++ b/source/blender/blenlib/intern/BLI_mempool.c
@@ -268,7 +268,7 @@ BLI_mempool *BLI_mempool_create_for_tasks(const unsigned int esize,
BLI_mempool_chunk **chunks = MEM_callocN(sizeof(void *) * pool->maxchunks,
"BLI_mempool_create_for_tasks r_chunks");
- int totalloc = 0;
+ unsigned int totalloc = 0;
*r_totchunk = 0;
BLI_mempool_chunk *chunk = pool->chunks, *lastchunk = NULL;
@@ -298,7 +298,7 @@ BLI_mempool *BLI_mempool_create_for_tasks(const unsigned int esize,
break;
}
- i = pool->pchunk - 1;
+ i = (int)pool->pchunk - 1;
}
char *elem = CHUNK_DATA(lastchunk);
More information about the Bf-blender-cvs
mailing list