summaryrefslogtreecommitdiff
path: root/atomicio.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2006-03-15 11:29:51 +1100
committerDamien Miller <djm@mindrot.org>2006-03-15 11:29:51 +1100
commit3fd019ecca7d41702111f926f08e370946cf9060 (patch)
tree10231597435e922aca25e1930b031acd809b0d49 /atomicio.c
parent9cf6d077fb87b4364e70c9fd889bf26744718301 (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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/atomicio.c b/atomicio.c
index 12abbda1..8dd271b6 100644
--- a/atomicio.c
+++ b/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"
@@ -58,7 +58,7 @@ atomicio(f, fd, _s, n)
errno = EPIPE;
return pos;
default:
- pos += (u_int)res;
+ pos += (size_t)res;
}
}
return (pos);