summaryrefslogtreecommitdiff
path: root/pp_sys.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2002-12-18 02:08:12 +0000
committerGurusamy Sarathy <gsar@cpan.org>2002-12-18 02:08:12 +0000
commit4a9d61009ab1e3df94ef4ecfcc453c9ce73010a4 (patch)
tree5bb486e54adfa3de89ac2448576a0f0d61f72722 /pp_sys.c
parent87755fa7011638e8ad4f4be9619e28e676b74d12 (diff)
downloadperl-4a9d61009ab1e3df94ef4ecfcc453c9ce73010a4.tar.gz
windows: support for large files
note that this change will break binary compatibility with the default 5.8.0 build options; nevertheless I think it is worth having in 5.8.1 (people who want the compatibility can disable the option in the makefile) p4raw-id: //depot/perl@18327
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 472f041aa6..cd5bfecaef 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -2838,7 +2838,7 @@ PP(pp_stat)
PUSHs(sv_2mortal(newSVpvn("", 0)));
#endif
#if Off_t_size > IVSIZE
- PUSHs(sv_2mortal(newSVnv(PL_statcache.st_size)));
+ PUSHs(sv_2mortal(newSVnv((NV)PL_statcache.st_size)));
#else
PUSHs(sv_2mortal(newSViv(PL_statcache.st_size)));
#endif