diff options
| author | Toby Goodwin <tgoodwin@cygnus.co.uk> | 1997-07-07 00:00:01 +0100 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2015-05-16 21:22:09 +0100 |
| commit | 671e1e2d1599aa8c5f1010b3fe75c151c56a7403 (patch) | |
| tree | 906ba5d55d6993f59d7bb1def63d494bafd38728 /utils.c | |
| parent | a076248389c82276e079756bee26c011b03f70f2 (diff) | |
beta: rc-1.5b2
Diffstat (limited to 'utils.c')
| -rw-r--r-- | utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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)) { |