scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit a5b0d0b61cad47c7f905ec4eda037a339570b0b8
parent 162d7ec1030b696b09740e1dc5494f1d644a53d6
Author: Alexander Krotov <ilabdsf@yandex.ru>
Date:   Thu, 14 Apr 2016 01:30:55 +0300

[cc2] Fix memset argument

Diffstat:
Mcc2/node.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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