[Bf-blender-cvs] [ba8d2c266ac] sculpt-dev: Sculpt: fix gcc compile errors
Joseph Eagar
noreply at git.blender.org
Thu Oct 14 03:59:16 CEST 2021
Commit: ba8d2c266acf9e3f5f0e1516bff5ae055d9c4906
Author: Joseph Eagar
Date: Wed Oct 13 18:54:19 2021 -0700
Branches: sculpt-dev
https://developer.blender.org/rBba8d2c266acf9e3f5f0e1516bff5ae055d9c4906
Sculpt: fix gcc compile errors
===================================================================
M source/blender/bmesh/intern/bmesh_log.c
===================================================================
diff --git a/source/blender/bmesh/intern/bmesh_log.c b/source/blender/bmesh/intern/bmesh_log.c
index 3d14912895f..b93964059a9 100644
--- a/source/blender/bmesh/intern/bmesh_log.c
+++ b/source/blender/bmesh/intern/bmesh_log.c
@@ -906,7 +906,7 @@ static void bm_log_face_bmface_copy(
lf->customdata_f = NULL;
}
- for (int i = 0; i < lf->len; i++) {
+ for (uint i = 0; i < lf->len; i++) {
if (lf->customdata[i]) {
BLI_mempool_free(entry->ldata.pool, lf->customdata[i]);
lf->customdata[i] = NULL;
@@ -1101,7 +1101,7 @@ static void bm_log_verts_unmake(
"%s[%s]: missing vertex error, vertex id: %d\n",
GET_TRACE(lv, entry),
__func__,
- id);
+ (int)id);
continue;
}
More information about the Bf-blender-cvs
mailing list