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>2019-09-19 06:32:36 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-09-19 06:33:44 +0300
commit86590b90aa78c7087a588275030a4f1490e37297 (patch)
tree560e5cdaf0ac15f2666d2163373e0292f4edb5d5 /source/blender/modifiers/intern/MOD_mask.c
parentd8a7e5ee324ef4648a317ef232aae5b5a8ed991f (diff)
Cleanup: use uint,ushort,uchar for modifiers
Diffstat (limited to 'source/blender/modifiers/intern/MOD_mask.c')
-rw-r--r--source/blender/modifiers/intern/MOD_mask.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/modifiers/intern/MOD_mask.c b/source/blender/modifiers/intern/MOD_mask.c
index df8f68862e6..cf7d227e898 100644
--- a/source/blender/modifiers/intern/MOD_mask.c
+++ b/source/blender/modifiers/intern/MOD_mask.c
@@ -160,7 +160,7 @@ static Mesh *applyModifier(ModifierData *md, const ModifierEvalContext *ctx, Mes
* (including selected matches only):
* key = oldindex, value = newindex
*/
- vertHash = BLI_ghash_int_new_ex("mask vert gh", (unsigned int)maxVerts);
+ vertHash = BLI_ghash_int_new_ex("mask vert gh", (uint)maxVerts);
/* add vertices which exist in vertexgroups into vertHash for filtering
* - dv = for each vertex, what vertexgroups does it belong to
@@ -204,7 +204,7 @@ static Mesh *applyModifier(ModifierData *md, const ModifierEvalContext *ctx, Mes
}
/* hashes for quickly providing a mapping from old to new - use key=oldindex, value=newindex */
- vertHash = BLI_ghash_int_new_ex("mask vert2 bh", (unsigned int)maxVerts);
+ vertHash = BLI_ghash_int_new_ex("mask vert2 bh", (uint)maxVerts);
/* add vertices which exist in vertexgroup into ghash for filtering */
for (i = 0, dv = dvert; i < maxVerts; i++, dv++) {
@@ -220,8 +220,8 @@ static Mesh *applyModifier(ModifierData *md, const ModifierEvalContext *ctx, Mes
}
/* hashes for quickly providing a mapping from old to new - use key=oldindex, value=newindex */
- edgeHash = BLI_ghash_int_new_ex("mask ed2 gh", (unsigned int)maxEdges);
- polyHash = BLI_ghash_int_new_ex("mask fa2 gh", (unsigned int)maxPolys);
+ edgeHash = BLI_ghash_int_new_ex("mask ed2 gh", (uint)maxEdges);
+ polyHash = BLI_ghash_int_new_ex("mask fa2 gh", (uint)maxPolys);
mvert_src = mesh->mvert;
medge_src = mesh->medge;