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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2016-06-12 22:25:14 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2016-06-12 22:29:19 +0300
commitcefbe8fe54016d4a16a9ba06c56d6c3c0c3d6024 (patch)
treef222ff2bfe8b6b172809856a2b179dc9ebeee8b7 /intern/cycles/graph/node_type.h
parent24d53f79b217ff7c62e4c32a49967447a0230fef (diff)
Fix build error with GCC 6.1.
Diffstat (limited to 'intern/cycles/graph/node_type.h')
-rw-r--r--intern/cycles/graph/node_type.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/graph/node_type.h b/intern/cycles/graph/node_type.h
index e84631cd59d..60c3244028d 100644
--- a/intern/cycles/graph/node_type.h
+++ b/intern/cycles/graph/node_type.h
@@ -155,7 +155,7 @@ const NodeType *structname::register_type()
#define SOCKET_DEFINE(name, ui_name, default_value, datatype, TYPE, flags, ...) \
{ \
static datatype defval = default_value; \
- CHECK_TYPE_PAIR(((T *)1)->name, datatype); \
+ CHECK_TYPE(((T *)1)->name, datatype); \
type->register_input(ustring(#name), ustring(ui_name), TYPE, SOCKET_OFFSETOF(T, name), &defval, NULL, NULL, flags, ##__VA_ARGS__); \
}