diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-02-21 21:18:27 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-02-21 21:18:27 +0400 |
commit | 091d86b9cb769f535fa11d2c7b6274e5206476d3 (patch) | |
tree | cb6db7fa6802f71558a016f1e5239cfb3f0f47c3 /source/blender/makesrna | |
parent | c84e4da7ddae474a1eb3368844165f21866c5fe5 (diff) |
style cleanup: 'sizeof foo' --> 'sizeof(foo)', add check in style checking script.
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_nodetree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_nodetree.c b/source/blender/makesrna/intern/rna_nodetree.c index 612802c46d1..1fff567f25c 100644 --- a/source/blender/makesrna/intern/rna_nodetree.c +++ b/source/blender/makesrna/intern/rna_nodetree.c @@ -1308,7 +1308,7 @@ static void reg_node(int ID, int category, const char *enum_name, const char *st static void init(void) { - memset(nodes, 0, sizeof nodes); + memset(nodes, 0, sizeof(nodes)); #define DefNode(Category, ID, DefFunc, EnumName, StructName, UIName, UIDesc) \ reg_node(ID, Category_##Category, EnumName, STRINGIFY_ARG(Category##StructName), #Category, UIName, UIDesc); |