Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2014-08-01 03:08:05 +0400
committerDalai Felinto <dfelinto@gmail.com>2014-08-01 03:09:07 +0400
commit7f9a4c0c421a0daddcb6984a99187dfabcbbcf2e (patch)
tree907ab062160959a9aac19394f15783a3b2cfe172 /source/blender/editors
parent23190c3c733aa9d1358e64a0dec5d04c101fe30b (diff)
Bake-API: cleanup - missing (size_t) promotion
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/object/object_bake_api.c2
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);