diff options
author | Damien Miller <djm@mindrot.org> | 2006-03-15 11:29:51 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2006-03-15 11:29:51 +1100 |
commit | 3fd019ecca7d41702111f926f08e370946cf9060 (patch) | |
tree | 10231597435e922aca25e1930b031acd809b0d49 /atomicio.c | |
parent | 9cf6d077fb87b4364e70c9fd889bf26744718301 (diff) | |
download | openssh-git-3fd019ecca7d41702111f926f08e370946cf9060.tar.gz |
- otto@cvs.openbsd.org 2006/02/11 19:31:18
[atomicio.c]
type correctness; from Ray Lai in PR 5011; ok millert@
Diffstat (limited to 'atomicio.c')
-rw-r--r-- | atomicio.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |