diff options
Diffstat (limited to 'source/blender/modifiers/intern/MOD_smooth.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_smooth.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/modifiers/intern/MOD_smooth.c b/source/blender/modifiers/intern/MOD_smooth.c index 59d5b2ccbd2..3542df24f49 100644 --- a/source/blender/modifiers/intern/MOD_smooth.c +++ b/source/blender/modifiers/intern/MOD_smooth.c @@ -85,14 +85,14 @@ static void smoothModifier_do( MEdge *medges = NULL; int i, j, numDMEdges, defgrp_index; - unsigned char *uctmp; + uchar *uctmp; float *ftmp, fac, facm; ftmp = (float *)MEM_calloc_arrayN(numVerts, 3 * sizeof(float), "smoothmodifier_f"); if (!ftmp) { return; } - uctmp = (unsigned char *)MEM_calloc_arrayN(numVerts, sizeof(unsigned char), "smoothmodifier_uc"); + uctmp = (uchar *)MEM_calloc_arrayN(numVerts, sizeof(uchar), "smoothmodifier_uc"); if (!uctmp) { if (ftmp) { MEM_freeN(ftmp); @@ -120,7 +120,7 @@ static void smoothModifier_do( for (i = 0; i < numDMEdges; i++) { float fvec[3]; float *v1, *v2; - unsigned int idx1, idx2; + uint idx1, idx2; idx1 = medges[i].v1; idx2 = medges[i].v2; @@ -204,7 +204,7 @@ static void smoothModifier_do( } memset(ftmp, 0, 3 * sizeof(float) * numVerts); - memset(uctmp, 0, sizeof(unsigned char) * numVerts); + memset(uctmp, 0, sizeof(uchar) * numVerts); } MEM_freeN(ftmp); |