summaryrefslogtreecommitdiff
path: root/perlio.h
diff options
context:
space:
mode:
authorLeon Timmermans <fawaka@gmail.com>2013-08-28 15:06:29 +0200
committerLeon Timmermans <fawaka@gmail.com>2013-09-07 10:01:50 +0200
commitb66f3475d343bb78e55b4ba343433044f5966b6b (patch)
tree517f65e6379259676134dd543ebdca9e8a08df38 /perlio.h
parentdf8c7dee25da69fc88678b8949166e08fb686037 (diff)
downloadperl-b66f3475d343bb78e55b4ba343433044f5966b6b.tar.gz
Fix PerlIO_get_cnt and friends
These functions worked with ints instead of SSize_t,
Diffstat (limited to 'perlio.h')
-rw-r--r--perlio.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/perlio.h b/perlio.h
index 7b5adbd345..69f0476731 100644
--- a/perlio.h
+++ b/perlio.h
@@ -313,19 +313,19 @@ PERL_EXPORT_C int PerlIO_canset_cnt(PerlIO *);
PERL_EXPORT_C STDCHAR *PerlIO_get_ptr(PerlIO *);
#endif
#ifndef PerlIO_get_cnt
-PERL_EXPORT_C int PerlIO_get_cnt(PerlIO *);
+PERL_EXPORT_C SSize_t PerlIO_get_cnt(PerlIO *);
#endif
#ifndef PerlIO_set_cnt
-PERL_EXPORT_C void PerlIO_set_cnt(PerlIO *, int);
+PERL_EXPORT_C void PerlIO_set_cnt(PerlIO *, SSize_t);
#endif
#ifndef PerlIO_set_ptrcnt
-PERL_EXPORT_C void PerlIO_set_ptrcnt(PerlIO *, STDCHAR *, int);
+PERL_EXPORT_C void PerlIO_set_ptrcnt(PerlIO *, STDCHAR *, SSize_t);
#endif
#ifndef PerlIO_get_base
PERL_EXPORT_C STDCHAR *PerlIO_get_base(PerlIO *);
#endif
#ifndef PerlIO_get_bufsiz
-PERL_EXPORT_C int PerlIO_get_bufsiz(PerlIO *);
+PERL_EXPORT_C SSize_t PerlIO_get_bufsiz(PerlIO *);
#endif
#ifndef PerlIO_tmpfile
PERL_EXPORT_C PerlIO *PerlIO_tmpfile(void);