diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2016-06-12 22:25:14 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2016-06-12 22:29:19 +0300 |
commit | cefbe8fe54016d4a16a9ba06c56d6c3c0c3d6024 (patch) | |
tree | f222ff2bfe8b6b172809856a2b179dc9ebeee8b7 /intern | |
parent | 24d53f79b217ff7c62e4c32a49967447a0230fef (diff) |
Fix build error with GCC 6.1.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/graph/node_type.h | 2 |
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__); \ } |