diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2014-08-01 03:08:05 +0400 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2014-08-01 03:09:07 +0400 |
commit | 7f9a4c0c421a0daddcb6984a99187dfabcbbcf2e (patch) | |
tree | 907ab062160959a9aac19394f15783a3b2cfe172 /source/blender/editors/object | |
parent | 23190c3c733aa9d1358e64a0dec5d04c101fe30b (diff) |
Bake-API: cleanup - missing (size_t) promotion
Diffstat (limited to 'source/blender/editors/object')
-rw-r--r-- | source/blender/editors/object/object_bake_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/object/object_bake_api.c b/source/blender/editors/object/object_bake_api.c index 57b7bab2275..66236bf9ace 100644 --- a/source/blender/editors/object/object_bake_api.c +++ b/source/blender/editors/object/object_bake_api.c @@ -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); |