summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/atomicio.c
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2006-02-11 19:31:19 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2006-02-11 19:31:19 +0000
commita62c6e739a0dfd04041deeac3d82c959606ac30b (patch)
tree02825d9e4070ffc34336a6e7cd02872dcbb5305a /usr.bin/ssh/atomicio.c
parentbef02d1276eb64fa1ac891c0d08cd4fa9e66353d (diff)
type correctness; from Ray Lai in PR 5011; ok millert@
Diffstat (limited to 'usr.bin/ssh/atomicio.c')
-rw-r--r--usr.bin/ssh/atomicio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/atomicio.c b/usr.bin/ssh/atomicio.c
index a71808a6846..6ee6adcb2ee 100644
--- a/usr.bin/ssh/atomicio.c
+++ b/usr.bin/ssh/atomicio.c
@@ -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 @@ atomicio(f, fd, _s, n)
errno = EPIPE;
return pos;
default:
- pos += (u_int)res;
+ pos += (size_t)res;
}
}
return (pos);