diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-09-09 07:12:23 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-09-09 07:12:23 +0400 |
commit | 66efedd09659d94a11c995d2fda16a9c13dc65a8 (patch) | |
tree | 0d5cf45c71bb920f202d728ea1193be229fd28a1 /source/blender/blenlib/BLI_bitmap.h | |
parent | 40b6532ec813b696a88c485b3090c24bd1a0c9cc (diff) |
enable strict flags for mesh_evaluate.c
Diffstat (limited to 'source/blender/blenlib/BLI_bitmap.h')
-rw-r--r-- | source/blender/blenlib/BLI_bitmap.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenlib/BLI_bitmap.h b/source/blender/blenlib/BLI_bitmap.h index ca98d28cc40..420ba16cbe2 100644 --- a/source/blender/blenlib/BLI_bitmap.h +++ b/source/blender/blenlib/BLI_bitmap.h @@ -54,17 +54,17 @@ typedef unsigned int BLI_bitmap; /* get the value of a single bit at '_index' */ #define BLI_BITMAP_GET(_bitmap, _index) \ ((_bitmap)[(_index) >> BLI_BITMAP_POWER] & \ - (1 << ((_index) & BLI_BITMAP_MASK))) + (1u << ((_index) & BLI_BITMAP_MASK))) /* set the value of a single bit at '_index' */ #define BLI_BITMAP_SET(_bitmap, _index) \ ((_bitmap)[(_index) >> BLI_BITMAP_POWER] |= \ - (1 << ((_index) & BLI_BITMAP_MASK))) + (1u << ((_index) & BLI_BITMAP_MASK))) /* clear the value of a single bit at '_index' */ #define BLI_BITMAP_CLEAR(_bitmap, _index) \ ((_bitmap)[(_index) >> BLI_BITMAP_POWER] &= \ - ~(1 << ((_index) & BLI_BITMAP_MASK))) + ~(1u << ((_index) & BLI_BITMAP_MASK))) /* set or clear the value of a single bit at '_index' */ #define BLI_BITMAP_MODIFY(_bitmap, _index, _set) \ |