From 86590b90aa78c7087a588275030a4f1490e37297 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 19 Sep 2019 13:32:36 +1000 Subject: Cleanup: use uint,ushort,uchar for modifiers --- source/blender/modifiers/intern/MOD_mask.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/blender/modifiers/intern/MOD_mask.c') 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; -- cgit v1.2.3