Fix warnings and remove casts by adding copy_vx_vx_uchar() functions.

This commit is contained in:
2015-10-11 01:44:47 +02:00
parent bb580664e6
commit 6e66ddf5ed
12 changed files with 87 additions and 62 deletions

View File

@@ -343,7 +343,7 @@ static void do_versions_mesh_mloopcol_swap_2_62_1(Mesh *me)
if (layer->type == CD_MLOOPCOL) {
mloopcol = (MLoopCol *)layer->data;
for (i = 0; i < me->totloop; i++, mloopcol++) {
SWAP(char, mloopcol->r, mloopcol->b);
SWAP(unsigned char, mloopcol->r, mloopcol->b);
}
}
}