Use a u8 instead of int for Port::state. This allows better struct

packing and reduces the size of objects by 4 bytes.
This commit is contained in:
david 2009-12-19 22:33:23 +00:00
parent b838242e01
commit 10f39ddd92

View file

@ -182,7 +182,7 @@ class Port {
u16 portno;
u8 proto;
int state;
u8 state;
state_reason_t reason;
#ifndef NOLUA