summaryrefslogtreecommitdiff
path: root/atomicio.c
diff options
context:
space:
mode:
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 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"
28RCSID("$OpenBSD: atomicio.c,v 1.13 2005/05/24 17:32:43 avsm Exp $"); 28RCSID("$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);