--- cc2/node.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cc2/node.c b/cc2/node.c index 67da0ad..2a53825 100644 --- a/cc2/node.c +++ b/cc2/node.c @@ -40,7 +40,7 @@ newnode(void) np = freep; freep = np->left; - return memset(np, 0, sizeof(np)); + return memset(np, 0, sizeof(*np)); } void -- 2.8.1
- [hackers] [scc] [PATCH] [cc2] Fix memset argument Alexander Krotov