diff options
Diffstat (limited to 'perlsdio.h')
-rw-r--r-- | perlsdio.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perlsdio.h b/perlsdio.h index 8bb50515bd..5a15a719ca 100644 --- a/perlsdio.h +++ b/perlsdio.h @@ -106,7 +106,7 @@ #define PerlIO_has_cntptr(f) 0 #define PerlIO_canset_cnt(f) 0 #define PerlIO_get_cnt(f) (abort(),0) -#define PerlIO_get_ptr(f) (abort(),0) +#define PerlIO_get_ptr(f) (abort(),(void *)0) #define PerlIO_set_cnt(f,c) abort() #define PerlIO_set_ptrcnt(f,p,c) abort() @@ -123,7 +123,7 @@ #define PerlIO_get_bufsiz(f) FILE_bufsiz(f) #else #define PerlIO_has_base(f) 0 -#define PerlIO_get_base(f) (abort(),0) +#define PerlIO_get_base(f) (abort(),(void *)0) #define PerlIO_get_bufsiz(f) (abort(),0) #endif #else /* PERLIO_IS_STDIO */ |