diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-12-14 21:26:08 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-12-14 21:26:08 +0000 |
commit | cc00df79d51119dad89c22fc9ec15f4b44f06876 (patch) | |
tree | 92319144b474a02b79d8e3d3c5c58a4b65cdc4cf /perlio.c | |
parent | 7bb5bfba443be93b884381f142c125de71fe95d1 (diff) | |
download | perl-cc00df79d51119dad89c22fc9ec15f4b44f06876.tar.gz |
Silence compiler worries found by Schwern/Digital cc.
p4raw-id: //depot/perl@13691
Diffstat (limited to 'perlio.c')
-rw-r--r-- | perlio.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2694,7 +2694,7 @@ PerlIOStdio_get_base(PerlIO *f) { dSYS; FILE *stdio = PerlIOSelf(f, PerlIOStdio)->stdio; - return PerlSIO_get_base(stdio); + return (STDCHAR*)PerlSIO_get_base(stdio); } Size_t @@ -2712,7 +2712,7 @@ PerlIOStdio_get_ptr(PerlIO *f) { dSYS; FILE *stdio = PerlIOSelf(f, PerlIOStdio)->stdio; - return PerlSIO_get_ptr(stdio); + return (STDCHAR*)PerlSIO_get_ptr(stdio); } SSize_t @@ -2730,7 +2730,7 @@ PerlIOStdio_set_ptrcnt(PerlIO *f, STDCHAR * ptr, SSize_t cnt) dSYS; if (ptr != NULL) { #ifdef STDIO_PTR_LVALUE - PerlSIO_set_ptr(stdio, ptr); + PerlSIO_set_ptr(stdio, (void*)ptr); /* LHS STDCHAR* cast non-portable */ #ifdef STDIO_PTR_LVAL_SETS_CNT if (PerlSIO_get_cnt(stdio) != (cnt)) { dTHX; |