int srv_port; /* server port */
/* for calculating how long the server disconnects */
- volatile int32_t disconn_cnt; /* number of disconnections count */
- volatile int32_t reconn_cnt; /* number of reconnections count */
+ volatile uint32_t disconn_cnt; /* number of disconnections count */
+ volatile uint32_t reconn_cnt; /* number of reconnections count */
struct timeval disconn_time; /* start time of disconnection */
struct timeval reconn_time; /* end time of reconnection */
} ms_mcd_server_t;