summaryrefslogtreecommitdiff
path: root/pp_sys.c
diff options
context:
space:
mode:
authorSteve Hay <SteveHay@planit.com>2005-03-29 15:18:30 +0000
committerSteve Hay <SteveHay@planit.com>2005-03-29 15:18:30 +0000
commitfe2774edcceb29d7f31eb2b8407d2ab3df896594 (patch)
tree5f9e337ef31aaa5474897b7a94d6eefe9c923d79 /pp_sys.c
parent1cb0ed9b77e4ba2e0bcbeb9a897574a0fe3f3e52 (diff)
downloadperl-fe2774edcceb29d7f31eb2b8407d2ab3df896594.tar.gz
Clean-up some warnings when compiling on Win32 with VC++
p4raw-id: //depot/perl@24096
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 5c1cc64ffe..cf188f0a49 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -1699,7 +1699,7 @@ PP(pp_sysread)
read_target = sv_newmortal();
SvUPGRADE(read_target, SVt_PV);
- buffer = SvGROW(read_target, length + 1);
+ buffer = SvGROW(read_target, (STRLEN)(length + 1));
}
if (PL_op->op_type == OP_SYSREAD) {