summaryrefslogtreecommitdiff
path: root/utils.c
diff options
context:
space:
mode:
authorToby Goodwin <tgoodwin@cygnus.co.uk>1997-07-07 00:00:01 +0100
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:22:59 +0100
commitb87bfedf65c289bf0ee5338c9e10492b70b1e8e0 (patch)
tree906ba5d55d6993f59d7bb1def63d494bafd38728 /utils.c
parent5556dde4d3ad4e34267320b1411fc090b18a24b0 (diff)
beta: rc-1.5b2
Diffstat (limited to 'utils.c')
-rw-r--r--utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils.c b/utils.c
index 67b146b..71ef61b 100644
--- a/utils.c
+++ b/utils.c
@@ -67,7 +67,7 @@ extern bool isabsolute(char *path) {
/* signal-safe read and write (for BSD slow devices). writeall also allows partial writes */
-extern void writeall(int fd, char *buf, SIZE_T remain) {
+extern void writeall(int fd, char *buf, size_t remain) {
int i;
for (i = 0; remain > 0; buf += i, remain -= i) {
interrupt_happened = FALSE;
@@ -85,7 +85,7 @@ extern void writeall(int fd, char *buf, SIZE_T remain) {
sigchk();
}
-extern int rc_read(int fd, char *buf, SIZE_T n) {
+extern int rc_read(int fd, char *buf, size_t n) {
long /*ssize_t*/ r;
interrupt_happened = FALSE;
if (!setjmp(slowbuf.j)) {