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) |
- 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
diff --git a/atomicio.c b/atomicio.c index 12abbda16..8dd271b6d 100644 --- a/atomicio.c +++ b/atomicio.c | |||
@@ -25,7 +25,7 @@ | |||
25 | */ | 25 | */ |
26 | 26 | ||
27 | #include "includes.h" | 27 | #include "includes.h" |
28 | RCSID("$OpenBSD: atomicio.c,v 1.13 2005/05/24 17:32:43 avsm Exp $"); | 28 | RCSID("$OpenBSD: atomicio.c,v 1.14 2006/02/11 19:31:18 otto Exp $"); |
29 | 29 | ||
30 | #include "atomicio.h" | 30 | #include "atomicio.h" |
31 | 31 | ||
@@ -58,7 +58,7 @@ atomicio(f, fd, _s, n) | |||
58 | errno = EPIPE; | 58 | errno = EPIPE; |
59 | return pos; | 59 | return pos; |
60 | default: | 60 | default: |
61 | pos += (u_int)res; | 61 | pos += (size_t)res; |
62 | } | 62 | } |
63 | } | 63 | } |
64 | return (pos); | 64 | return (pos); |