[master] 9230b61 Polish

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Tue Feb 21 18:09:05 CET 2017


commit 9230b6156cd070b4f2fbd9ffe83421130ad15e7a
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Tue Feb 21 18:06:47 2017 +0100

    Polish

diff --git a/include/miniobj.h b/include/miniobj.h
index 75093ce..952a068 100644
--- a/include/miniobj.h
+++ b/include/miniobj.h
@@ -13,7 +13,7 @@
 
 #define INIT_OBJ(to, type_magic)					\
 	do {								\
-		(void)memset(to, 0, sizeof *to);			\
+		(void)memset(to, 0, sizeof *(to));			\
 		(to)->magic = (type_magic);				\
 	} while (0)
 



More information about the varnish-commit mailing list