summaryrefslogtreecommitdiff
path: root/perlsfio.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-05-28 18:41:12 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-05-28 18:41:12 +0000
commitbf4acbe410c9fcc2bff9bfa63411be8c6c46902a (patch)
tree077f53c9756dde3500e84d80533c3a6a24300200 /perlsfio.h
parent704ea872433dd6d5a1c650f509289fdea5c037ab (diff)
downloadperl-bf4acbe410c9fcc2bff9bfa63411be8c6c46902a.tar.gz
MacOS support, part 1 (from Matthias Neeracher
<neeri@iis.ee.ethz.ch>) p4raw-id: //depot/perl@6143
Diffstat (limited to 'perlsfio.h')
-rw-r--r--perlsfio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/perlsfio.h b/perlsfio.h
index c4ed5c7650..00568d1d59 100644
--- a/perlsfio.h
+++ b/perlsfio.h
@@ -49,7 +49,7 @@ extern int _stdprintf _ARG_((const char*, ...));
#define PerlIO_get_cnt(f) ((f)->endr - (f)->next)
#define PerlIO_canset_cnt(f) 1
#define PerlIO_fast_gets(f) 1
-#define PerlIO_set_ptrcnt(f,p,c) ((f)->next = (p))
+#define PerlIO_set_ptrcnt(f,p,c) ((f)->next = (unsigned char *)(p))
#define PerlIO_set_cnt(f,c) 1
#define PerlIO_has_base(f) 1