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:09 +0100
commit671e1e2d1599aa8c5f1010b3fe75c151c56a7403 (patch)
tree906ba5d55d6993f59d7bb1def63d494bafd38728 /utils.c
parenta076248389c82276e079756bee26c011b03f70f2 (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)) {