shithub: scc

Download patch

ref: 2c0c3d4ac325eae13726581807943c1124d4fb20
parent: 243a9a7629fb99ad8a62db46b3c9e249a8b575a4
author: Alexander Krotov <ilabdsf@yandex.ru>
date: Wed Apr 13 21:30:55 EDT 2016

[cc2] Fix memset argument

--- a/cc2/node.c
+++ b/cc2/node.c
@@ -40,7 +40,7 @@
 	np = freep;
 	freep = np->left;
 
-	return memset(np, 0, sizeof(np));
+	return memset(np, 0, sizeof(*np));
 }
 
 void