summaryrefslogtreecommitdiff
path: root/pp_sys.c
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 /pp_sys.c
parentdf8c7dee25da69fc88678b8949166e08fb686037 (diff)
downloadperl-b66f3475d343bb78e55b4ba343433044f5966b6b.tar.gz
Fix PerlIO_get_cnt and friends
These functions worked with ints instead of SSize_t,
Diffstat (limited to 'pp_sys.c')
-rw-r--r--pp_sys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_sys.c b/pp_sys.c
index d87299fd17..a5d44ff9e8 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -3288,7 +3288,7 @@ PP(pp_fttext)
{
dVAR;
I32 i;
- I32 len;
+ SSize_t len;
I32 odd = 0;
STDCHAR tbuf[512];
STDCHAR *s;