X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=clients%2Fms_setting.h;h=7d31532c8b5ea7a8590de1402bcc82112724f711;hb=824533fd2626b1060855e543aaad381675ae2695;hp=9283a4834b385d3e765d4756e594615ce139fc23;hpb=7e85e11584bdd452251c67d64bed45867315fb97;p=m6w6%2Flibmemcached diff --git a/clients/ms_setting.h b/clients/ms_setting.h index 9283a483..7d31532c 100644 --- a/clients/ms_setting.h +++ b/clients/ms_setting.h @@ -53,8 +53,8 @@ typedef struct mcd_sever 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;