summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorSteve Hay <SteveHay@planit.com>2006-07-27 16:25:41 +0000
committerSteve Hay <SteveHay@planit.com>2006-07-27 16:25:41 +0000
commit670f1322a800dc03404a696600a617f3804f797d (patch)
tree15060422f99dfd83326aa2cb90f977ec549063e9 /op.c
parentce647182f445381be8b7e59ae7dcb564635409c6 (diff)
downloadperl-670f1322a800dc03404a696600a617f3804f797d.tar.gz
Clear up most of the VC6 compiler warnings in the following smoke:
http://www.nntp.perl.org/group/perl.daily-build.reports/39733 p4raw-id: //depot/perl@28626
Diffstat (limited to 'op.c')
-rw-r--r--op.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/op.c b/op.c
index 45ccd85ef2..1a4ab2dfae 100644
--- a/op.c
+++ b/op.c
@@ -2233,7 +2233,7 @@ Perl_fold_constants(pTHX_ register OP *o)
if (type == OP_RV2GV)
newop = newGVOP(OP_GV, 0, (GV*)sv);
else
- newop = newSVOP(OP_CONST, 0, sv);
+ newop = newSVOP(OP_CONST, 0, (SV*)sv);
op_getmad(o,newop,'f');
return newop;