author | Alberto Bertogli
<albertito@blitiri.com.ar> 2009-07-15 18:39:33 UTC |
committer | Alberto Bertogli
<albertito@blitiri.com.ar> 2009-07-15 18:39:33 UTC |
parent | 366140a6d53155134020a4b128c73df1d4752f2a |
libjio/common.c | +2 | -2 |
diff --git a/libjio/common.c b/libjio/common.c index 12c92ef..b8a7be5 100644 --- a/libjio/common.c +++ b/libjio/common.c @@ -52,7 +52,7 @@ off_t plockf(int fd, int cmd, off_t offset, off_t len) * less than count it's because EOF was reached */ ssize_t spread(int fd, void *buf, size_t count, off_t offset) { - int rv, c; + ssize_t rv, c; c = 0; @@ -79,7 +79,7 @@ ssize_t spread(int fd, void *buf, size_t count, off_t offset) /** Like spread() but for pwrite() */ ssize_t spwrite(int fd, const void *buf, size_t count, off_t offset) { - int rv, c; + ssize_t rv, c; c = 0;