From d28248595b5936ed5f268418ff9905200660ec69 Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Tue, 31 Jul 2018 02:57:53 +1200 Subject: Silencing a bunch of compiler warnings Most of these were mismatched const qualifiers --- source/blender/nodes/composite/nodes/node_composite_cryptomatte.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/nodes') 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); -- cgit v1.2.3