Convert sizeof foo to sizeof(foo).
[oweals/tinc.git] / src / net.c
index b82dae805c843c5428beb908424c159d43a0aeaa..cac15f906c6fa9572a842891cebaa4191531105b 100644 (file)
--- a/src/net.c
+++ b/src/net.c
@@ -255,7 +255,7 @@ static void check_dead_connections(void) {
                        } else {
                                if(c->status.remove) {
                                        logger(LOG_WARNING, "Old connection_t for %s (%s) status %04x still lingering, deleting...",
-                                                  c->name, c->hostname, bitfield_to_int(&c->status, sizeof c->status));
+                                                  c->name, c->hostname, bitfield_to_int(&c->status, sizeof(c->status)));
                                        connection_del(c);
                                        continue;
                                }