summaryrefslogtreecommitdiff
path: root/pp_sys.c
diff options
context:
space:
mode:
authorSteve Hay <SteveHay@planit.com>2006-11-28 15:57:45 +0000
committerSteve Hay <SteveHay@planit.com>2006-11-28 15:57:45 +0000
commitaebaba0b5be8c1153dcfd9402824b0dc15298fe9 (patch)
tree6cc25d317bee3d1adb6c40d2f781cb84506edcce /pp_sys.c
parent428eed4a3c021dd32b21fe7b786a478613c6dcc3 (diff)
downloadperl-aebaba0b5be8c1153dcfd9402824b0dc15298fe9.tar.gz
Silence VC++ 8 warnings about "possible loss of data"
p4raw-id: //depot/perl@29408
Diffstat (limited to 'pp_sys.c')
-rw-r--r--pp_sys.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pp_sys.c b/pp_sys.c
index 1d0b552661..6754c3e802 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -2910,9 +2910,9 @@ PP(pp_stat)
PUSHs(sv_2mortal(newSVnv(PL_statcache.st_mtime)));
PUSHs(sv_2mortal(newSVnv(PL_statcache.st_ctime)));
#else
- PUSHs(sv_2mortal(newSViv(PL_statcache.st_atime)));
- PUSHs(sv_2mortal(newSViv(PL_statcache.st_mtime)));
- PUSHs(sv_2mortal(newSViv(PL_statcache.st_ctime)));
+ PUSHs(sv_2mortal(newSViv((IV)PL_statcache.st_atime)));
+ PUSHs(sv_2mortal(newSViv((IV)PL_statcache.st_mtime)));
+ PUSHs(sv_2mortal(newSViv((IV)PL_statcache.st_ctime)));
#endif
#ifdef USE_STAT_BLOCKS
PUSHs(sv_2mortal(newSVuv(PL_statcache.st_blksize)));