diff options
author | Joshua Leung <aligorith@gmail.com> | 2018-07-30 17:57:53 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2018-07-30 18:04:32 +0300 |
commit | d28248595b5936ed5f268418ff9905200660ec69 (patch) | |
tree | 4052254f0ae7a749ee26ac8cfaa8c0a77b52f4e3 /source/blender/nodes | |
parent | a3b6ae9fb9dd76538ec04b9fa6953490d321dd32 (diff) |
Silencing a bunch of compiler warnings
Most of these were mismatched const qualifiers
Diffstat (limited to 'source/blender/nodes')
-rw-r--r-- | source/blender/nodes/composite/nodes/node_composite_cryptomatte.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/composite/nodes/node_composite_cryptomatte.c b/source/blender/nodes/composite/nodes/node_composite_cryptomatte.c index bf9ab4a5064..af988c0df39 100644 --- a/source/blender/nodes/composite/nodes/node_composite_cryptomatte.c +++ b/source/blender/nodes/composite/nodes/node_composite_cryptomatte.c @@ -37,7 +37,7 @@ /* this is taken from the cryptomatte specification 1.0 */ -static inline float hash_to_float(uint32_t hash) +BLI_INLINE float hash_to_float(uint32_t hash) { uint32_t mantissa = hash & ((1 << 23) - 1); uint32_t exponent = (hash >> 23) & ((1 << 8) - 1); |