]> andersk Git - openssh.git/blobdiff - atomicio.c
- otto@cvs.openbsd.org 2006/02/11 19:31:18
[openssh.git] / atomicio.c
index 12abbda16bb157448caeac5ed734d06eaf9b54f9..8dd271b6d3ee45a25f279c95907974548b52a3df 100644 (file)
@@ -25,7 +25,7 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: atomicio.c,v 1.13 2005/05/24 17:32:43 avsm Exp $");
+RCSID("$OpenBSD: atomicio.c,v 1.14 2006/02/11 19:31:18 otto Exp $");
 
 #include "atomicio.h"
 
@@ -58,7 +58,7 @@ atomicio(f, fd, _s, n)
                        errno = EPIPE;
                        return pos;
                default:
-                       pos += (u_int)res;
+                       pos += (size_t)res;
                }
        }
        return (pos);
This page took 0.031114 seconds and 4 git commands to generate.