From 4503b637f88a2e708d0501897404647345674168 Mon Sep 17 00:00:00 2001 From: Sean Hefty Date: Tue, 5 Jun 2012 16:21:19 -0700 Subject: [PATCH] Refresh of rs-defaults --- src/rsocket.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/rsocket.c b/src/rsocket.c index 06e597ff..68316f99 100644 --- a/src/rsocket.c +++ b/src/rsocket.c @@ -207,7 +207,7 @@ void rs_configure(void) FILE *f; if ((f = fopen(RS_CONF_DIR "/polling_time", "r"))) { - fscanf(f, "%Lu", &polling_time); + fscanf(f, "%u", &polling_time); fclose(f); } @@ -978,7 +978,7 @@ static int rs_process_cq(struct rsocket *rs, int nonblock, int (*test)(struct rs 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 { @@ -1545,7 +1545,7 @@ int rpoll(struct pollfd *fds, nfds_t nfds, int timeout) { struct timeval s, e; struct pollfd *rfds; - unsigned long long poll_time = 0; + uint32_t poll_time = 0; int ret; do { -- 2.45.2