Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/cycles/graph/node_type.cpp')
-rw-r--r--intern/cycles/graph/node_type.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/graph/node_type.cpp b/intern/cycles/graph/node_type.cpp
index 0ec421023a2..2b11af70d71 100644
--- a/intern/cycles/graph/node_type.cpp
+++ b/intern/cycles/graph/node_type.cpp
@@ -168,7 +168,7 @@ void NodeType::register_input(ustring name,
socket.node_type = node_type;
socket.flags = flags | extra_flags;
assert(inputs.size() < std::numeric_limits<SocketModifiedFlags>::digits);
- socket.modified_flag_bit = (1ul << inputs.size());
+ socket.modified_flag_bit = (1ull << inputs.size());
inputs.push_back(socket);
}