=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/atomicio.c,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- src/usr.bin/ssh/atomicio.c 2005/05/24 17:32:43 1.13 +++ src/usr.bin/ssh/atomicio.c 2006/02/11 19:31:18 1.14 @@ -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" @@ -54,7 +54,7 @@ errno = EPIPE; return pos; default: - pos += (u_int)res; + pos += (size_t)res; } } return (pos);