Add some missng casts to the size_t

This commit is contained in:
Sergey Sharybin 2014-08-06 18:53:25 +06:00
parent c0c037f41d
commit c9dee2b054
1 changed files with 1 additions and 1 deletions

View File

@ -531,7 +531,7 @@ static size_t initialize_internal_images(BakeImages *bake_images, ReportList *re
bk_image->height = ibuf->y;
bk_image->offset = tot_size;
tot_size += ibuf->x * ibuf->y;
tot_size += (size_t)ibuf->x * (size_t)ibuf->y;
}
else {
BKE_image_release_ibuf(bk_image->image, ibuf, lock);