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
path: root/source
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2014-11-23 22:51:08 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2014-11-23 22:51:08 +0300
commit48a720055f736c5be257f85c22589f81f09247a8 (patch)
treeb3862aa85dbceee9e23e7bb7b29a8c87300ea969 /source
parent216989686b4e1b028a3cef2f9699855d49645988 (diff)
Fix BLI_Bitmap - was not usable in BKE area (strict compile flags).
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenlib/BLI_bitmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_bitmap.h b/source/blender/blenlib/BLI_bitmap.h
index 594bf89b667..e4c625439d3 100644
--- a/source/blender/blenlib/BLI_bitmap.h
+++ b/source/blender/blenlib/BLI_bitmap.h
@@ -47,7 +47,7 @@ typedef unsigned int BLI_bitmap;
/* size (in bytes) used to hold '_tot' bits */
#define BLI_BITMAP_SIZE(_tot) \
- (_BITMAP_NUM_BLOCKS(_tot) * sizeof(BLI_bitmap))
+ ((size_t)(_BITMAP_NUM_BLOCKS(_tot)) * sizeof(BLI_bitmap))
/* allocate memory for a bitmap with '_tot' bits; free
* with MEM_freeN() */