Bake-API: cleanup - missing (size_t) promotion

This commit is contained in:
Dalai Felinto
2014-07-31 20:08:05 -03:00
parent 23190c3c73
commit 7f9a4c0c42

View File

@@ -178,7 +178,7 @@ static bool write_internal_bake_pixels(
void *lock;
bool is_float;
char *mask_buffer = NULL;
const size_t num_pixels = width * height;
const size_t num_pixels = (size_t)width * (size_t)height;
ibuf = BKE_image_acquire_ibuf(image, NULL, &lock);