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

@@ -829,7 +829,7 @@ void view3d_cached_text_draw_add(const float co[3],
BLI_LINKS_PREPEND(g_v3d_strings[g_v3d_string_level], vos);
copy_v3_v3(vos->vec, co);
copy_v4_v4_char((char *)vos->col.ub, (const char *)col);
copy_v4_v4_uchar(vos->col.ub, col);
vos->xoffs = xoffs;
vos->flag = flag;
vos->str_len = str_len;