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>2014-10-06 11:50:20 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-10-06 11:51:51 +0400
commit77af624524795fe6c6e50242adfe0da243f3c747 (patch)
tree8a8f533e68b7c68522015c8fc1c013bd86bc842a
parent1dd428ff6d45194fcabe1bdff62ede08f531a4ea (diff)
Quiet warning on 32bit system
-rw-r--r--source/blender/bmesh/tools/bmesh_region_match.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/bmesh/tools/bmesh_region_match.c b/source/blender/bmesh/tools/bmesh_region_match.c
index 224e9a15a38..050d5ae4808 100644
--- a/source/blender/bmesh/tools/bmesh_region_match.c
+++ b/source/blender/bmesh/tools/bmesh_region_match.c
@@ -993,14 +993,14 @@ static SUID_Int bm_face_region_vert_boundary_id(BMVert *v)
#define PRIME_VERT_MID_A 103
#define PRIME_VERT_MID_B 131
- unsigned int tot = 0;
+ int tot = 0;
BMIter iter;
BMLoop *l;
SUID_Int id = PRIME_VERT_MID_A;
BM_ITER_ELEM (l, &iter, v, BM_LOOPS_OF_VERT) {
const bool is_boundary_vert = (bm_edge_is_region_boundary(l->e) || bm_edge_is_region_boundary(l->prev->e));
- id ^= (unsigned int)l->f->len * (is_boundary_vert ? PRIME_VERT_SMALL_A : PRIME_VERT_SMALL_B);
+ id ^= l->f->len * (is_boundary_vert ? PRIME_VERT_SMALL_A : PRIME_VERT_SMALL_B);
tot += 1;
}