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>2013-05-31 04:19:38 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-05-31 04:19:38 +0400
commit58a748431e7b3b268a0b8f77b09279ed0c19eca2 (patch)
tree361b34d6dde263938a2e262df224ea6a53948565 /source/blender/bmesh/operators/bmo_edgenet.c
parent638c0210392f73ba5377dceaf614432c4bbe21e3 (diff)
correct cast to uintptr_t for smallhash use.
Diffstat (limited to 'source/blender/bmesh/operators/bmo_edgenet.c')
-rw-r--r--source/blender/bmesh/operators/bmo_edgenet.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/bmesh/operators/bmo_edgenet.c b/source/blender/bmesh/operators/bmo_edgenet.c
index b6d6af1e6da..903cef05604 100644
--- a/source/blender/bmesh/operators/bmo_edgenet.c
+++ b/source/blender/bmesh/operators/bmo_edgenet.c
@@ -254,8 +254,8 @@ static int UNUSED_FUNCTION(rotsys_fill_faces)(BMesh *bm, EdgeData *edata, VertDa
continue;
do {
- if (BLI_smallhash_haskey(hash, (intptr_t)e2) ||
- BLI_smallhash_haskey(hash, (intptr_t)v))
+ if (BLI_smallhash_haskey(hash, (uintptr_t)e2) ||
+ BLI_smallhash_haskey(hash, (uintptr_t)v))
{
ok = 0;
break;
@@ -264,7 +264,7 @@ static int UNUSED_FUNCTION(rotsys_fill_faces)(BMesh *bm, EdgeData *edata, VertDa
BLI_array_append(verts, v);
BLI_array_append(edges, e2);
- BLI_smallhash_insert(hash, (intptr_t)e2, NULL);
+ BLI_smallhash_insert(hash, (uintptr_t)e2, NULL);
v = BM_edge_other_vert(e2, v);
e2 = i ? rotsys_prevedge(e2, v, edata, vdata) : rotsys_nextedge(e2, v, edata, vdata);