]> andersk Git - openssh.git/blobdiff - atomicio.c
- Reduce diff against OpenBSD source
[openssh.git] / atomicio.c
index f9a364878c47226efad7cff34ab1112401da418e..1060dc0e896888af1b21a348693092e001e2c88b 100644 (file)
@@ -43,7 +43,7 @@ atomicio(f, fd, _s, n)
        ssize_t res, pos = 0;
 
        while (n > pos) {
-               res = (f) (fd, (char*)s + pos, n - pos);
+               res = (f) (fd, s + pos, n - pos);
                switch (res) {
                case -1:
                        if (errno == EINTR || errno == EAGAIN)
This page took 0.509244 seconds and 4 git commands to generate.