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_util.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/modifiers/intern/MOD_util.c') diff --git a/source/blender/modifiers/intern/MOD_util.c b/source/blender/modifiers/intern/MOD_util.c index 98497a76668..36e712a1958 100644 --- a/source/blender/modifiers/intern/MOD_util.c +++ b/source/blender/modifiers/intern/MOD_util.c @@ -109,11 +109,11 @@ void MOD_get_texture_coords(MappingInfoModifierData *dmd, /* verts are given the UV from the first face that uses them */ for (i = 0, mp = mpoly; i < numPolys; i++, mp++) { - unsigned int fidx = mp->totloop - 1; + uint fidx = mp->totloop - 1; do { - unsigned int lidx = mp->loopstart + fidx; - unsigned int vidx = mloop[lidx].v; + uint lidx = mp->loopstart + fidx; + uint vidx = mloop[lidx].v; if (!BLI_BITMAP_TEST(done, vidx)) { /* remap UVs from [0, 1] to [-1, 1] */ -- cgit v1.2.3