]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/idmapd/atomicio.c
Removed warnings from atomicio.c
[nfs-utils.git] / utils / idmapd / atomicio.c
index 05e714791d990edb34fd7f2090d8e69868bf76c7..1fb1ff9ce5ba358237dff328fcf284b4eb5c57be 100644 (file)
@@ -43,7 +43,8 @@ atomicio(
        size_t n)
 {
        char *s = _s;
-       ssize_t res, pos = 0;
+       ssize_t res;
+       size_t pos = 0;
 
        while (n > pos) {
                res = (f) (fd, s + pos, n - pos);