FILE *f;
if ((f = fopen(RS_CONF_DIR "/polling_time", "r"))) {
- fscanf(f, "%Lu", &polling_time);
+ fscanf(f, "%u", &polling_time);
fclose(f);
}
static int rs_get_comp(struct rsocket *rs, int nonblock, int (*test)(struct rsocket *rs))
{
struct timeval s, e;
- unsigned long long poll_time = 0;
+ uint32_t poll_time = 0;
int ret;
do {
{
struct timeval s, e;
struct pollfd *rfds;
- unsigned long long poll_time = 0;
+ uint32_t poll_time = 0;
int ret;
do {