From: Sean Hefty Date: Tue, 5 Jun 2012 23:21:19 +0000 (-0700) Subject: Refresh of rs-defaults X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=4503b637f88a2e708d0501897404647345674168;p=~shefty%2Flibrdmacm.git Refresh of rs-defaults --- 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 {