diff options
author | Mai Lavelle <mai.lavelle@gmail.com> | 2016-08-11 22:09:58 +0300 |
---|---|---|
committer | Mai Lavelle <mai.lavelle@gmail.com> | 2016-08-11 22:09:58 +0300 |
commit | 3aed54dbd517f6c99b512ffa842bee75dea48fc7 (patch) | |
tree | 27b4bb35f3974baa6c10200533b554f2ac9f40b7 /intern/cycles | |
parent | 013a5c27a5ae31fb5efda1213a94d3a89a24f263 (diff) |
Cycles: Fix change of sign warning
Diffstat (limited to 'intern/cycles')
-rw-r--r-- | intern/cycles/kernel/kernel_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/kernel_types.h b/intern/cycles/kernel/kernel_types.h index a94d544b873..bb26570455b 100644 --- a/intern/cycles/kernel/kernel_types.h +++ b/intern/cycles/kernel/kernel_types.h @@ -1266,7 +1266,7 @@ enum RayState { /* Patch map node flags */ #define PATCH_MAP_NODE_IS_SET (1 << 30) -#define PATCH_MAP_NODE_IS_LEAF (1 << 31) +#define PATCH_MAP_NODE_IS_LEAF (1u << 31) #define PATCH_MAP_NODE_INDEX_MASK (~(PATCH_MAP_NODE_IS_SET | PATCH_MAP_NODE_IS_LEAF)) CCL_NAMESPACE_END |