From cefbe8fe54016d4a16a9ba06c56d6c3c0c3d6024 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Sun, 12 Jun 2016 21:25:14 +0200 Subject: Fix build error with GCC 6.1. --- intern/cycles/graph/node_type.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'intern/cycles/graph') 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__); \ } -- cgit v1.2.3