Cleanup: too small loop variable type

Clang-Tidy: bugprone-too-small-loop-variable
This commit is contained in:
Jacques Lucke 2021-05-10 10:52:33 +02:00
parent 0061150e4c
commit eba9404cc7
1 changed files with 1 additions and 1 deletions

View File

@ -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;