summaryrefslogtreecommitdiff
path: root/perlio.c
diff options
context:
space:
mode:
authorChip Salzenberg <chip@perl.com>1997-04-04 00:00:00 +0000
committerChip Salzenberg <chip@atlantic.net>1997-04-04 00:00:00 +0000
commit5b54f415353cb889898fb25391f5dff73990f3f2 (patch)
tree2b6fbc8bff228306078eb9f0fdd003a1ba244170 /perlio.c
parente43cfa93c2ef6ac50be4121f06de5f795aa3fa62 (diff)
downloadperl-5b54f415353cb889898fb25391f5dff73990f3f2.tar.gz
Use SSize_t for values of PerlIO_{read,write}
Diffstat (limited to 'perlio.c')
-rw-r--r--perlio.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/perlio.c b/perlio.c
index d9b3d81ac3..0a0625cfba 100644
--- a/perlio.c
+++ b/perlio.c
@@ -382,21 +382,21 @@ int ch;
}
#undef PerlIO_read
-int
+SSize_t
PerlIO_read(f,buf,count)
PerlIO *f;
void *buf;
-size_t count;
+Size_t count;
{
return fread(buf,1,count,f);
}
#undef PerlIO_write
-int
+SSize_t
PerlIO_write(f,buf,count)
PerlIO *f;
const void *buf;
-size_t count;
+Size_t count;
{
return fwrite1(buf,1,count,f);
}