Convert sizeof foo to sizeof(foo).
[tinc] / src / graph.c
index 1f1fdb3..e6cd011 100644 (file)
@@ -269,7 +269,7 @@ static void check_reachability(void) {
 
                        if(!n->status.reachable) {
                                update_node_udp(n, NULL);
-                               memset(&n->status, 0, sizeof n->status);
+                               memset(&n->status, 0, sizeof(n->status));
                                n->options = 0;
                        } else if(n->connection) {
                                // Speed up UDP probing by sending our key.