diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-07-16 04:45:52 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-07-16 04:45:52 +0300 |
commit | bf5b1fa7266c510b22428f7f176aef545846004c (patch) | |
tree | 35e1fbaaa184514deb1a4b3e8f6547d75bdc34ac /source/blender/blenlib | |
parent | 09b89da349fd08aea811cc770cf627fbda6d75ba (diff) |
Cleanup: remove redundant parentheses
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/intern/system.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/system.c b/source/blender/blenlib/intern/system.c index 87330cf4899..66d0b44cfb3 100644 --- a/source/blender/blenlib/intern/system.c +++ b/source/blender/blenlib/intern/system.c @@ -184,7 +184,7 @@ size_t BLI_system_memory_max_in_megabytes(void) /* Maximum addressable bytes on this platform. * * NOTE: Due to the shift arithmetic this is a half of the memory. */ - const size_t limit_bytes_half = (((size_t)1) << ((sizeof(size_t[8])) - 1)); + const size_t limit_bytes_half = (((size_t)1) << (sizeof(size_t[8]) - 1)); /* Convert it to megabytes and return. */ return (limit_bytes_half >> 20) * 2; } |