diff options
author | Jacques Lucke <jacques@blender.org> | 2021-05-10 11:52:33 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2021-05-10 11:52:33 +0300 |
commit | eba9404cc79c322c68860eabf0e8c10a2de19236 (patch) | |
tree | ea5e52b09f162f014c2c4ff4526fbe35ee06ab0a /source/blender | |
parent | 0061150e4c90de474a38bd2eeeea7fe0d12de353 (diff) |
Cleanup: too small loop variable type
Clang-Tidy: bugprone-too-small-loop-variable
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_data.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/gpencil_data.c b/source/blender/editors/gpencil/gpencil_data.c index c5f094e030a..6f727de0e47 100644 --- a/source/blender/editors/gpencil/gpencil_data.c +++ b/source/blender/editors/gpencil/gpencil_data.c @@ -3656,7 +3656,7 @@ static int gpencil_materials_append_to_object_exec(bContext *C, wmOperator *op) } /* Duplicate materials. */ - for (short i = 0; i < ob_src->totcol; i++) { + for (int i = 0; i < ob_src->totcol; i++) { Material *ma_src = BKE_object_material_get(ob_src, i + 1); if (only_selected && ma_src != ma_active) { continue; |